Skip to main content

rerender-functional-setstate

Use functional setState updates to prevent stale closures and unnecessary callback recreations. Apply when updating state based on the current state value in React components.

Source facts

Repository
TheOrcDev/8bitcn-ui
Last source activity
January 16, 2026 at 09:09
Detected SKILL.md language
English
Stars
2,070
Forks
120

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
namererender-functional-setstate
descriptionUse functional setState updates to prevent stale closures and unnecessary callback recreations. Apply when updating state based on the current state value in React components.