React18 Batching Patterns

Diagnose and fix React 18 automatic batching regressions in class components. Use when multiple setState calls occur after await, inside setTimeout, Promise .then() or .catch(), native addEventListener callbacks, or when tests fail because they assert intermediate state after a React 18 upgrade.

paulasilvatech cd2fab7 3 files · 13.2 KB Updated

File contents

paulasilvatech/awesome-harness-primitives/tree/main/harness/claude-code/plugins/react18-upgrade/skills/react18-batching-patterns commit cd2fab7d17

Frequently asked questions

npx skillmds@latest add paulasilvatech/react18-batching-patterns-3