FreeSkills
Commits, branches and sync with the but CLI
- 361361 downloads
- 198198 likes
- 103103 saves
- Claude Code
- Codex
- Cursor
- and 3 more
Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans
Use this resource to fix setState batching regressions in React 18 class components
New
Free
In a terminal, from the folder you want:
npx --yes palatekit@latest install react18-batching-fixesWith no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.
First time: connect the CLI with
npx --yes palatekit@latest loginThe agent spots setState calls inside async methods, timers or promises, then follows the decision tree before any use of flushSync. You get a targeted fix and tests that no longer rely on intermediate states.
Mostly picked by
Updated November 2, 2026
You say
“Fix this class component: it updates three states in a setTimeout and the display flickers.”

Skill published by github under the MIT license, delivered in its original version.
Listed unmodified
« react18-batching-patterns » (github, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.
–
No ratings yet
Loading reviews…