react18-batching-patterns
Skill · community · v0.1.0
unsigned
⬇ imported
Provides exact patterns for diagnosing and fixing automatic batching regressions in React 18 class components. Use this skill whenever a class component has multiple setState calls in an async method, inside setTimeout, inside a Promise .then() or .catch(), or in a native event handler. Use it before writing any flushSync call - the decision tree here prevents unnecessary flushSync overuse. Also use this skill when fixing test failures caused by intermediate state assertions that break after React 18 upgrade.
Namespace
community
Name
react18-batching-patterns
Version
0.1.0
Kind
Skill
Trust
unsigned
REST URL
Source repo
Owner
github
Commit
541b7819d8c3545c6df122491af4fa1eae415779
Imported at
2026-05-18T20:05:35Z
Versions
Files