TokenToSeaSkills Hub
中文 Console

Rerender Functional Setstate

theorcdev

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.

Install

npx skills add TheOrcDev/8bitcn-ui --skill rerender-functional-setstate