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 Updated 21 repo stars

File contents

paulasilvatech/awesome-harness-primitives commit 6d0eff33f6

Frequently asked questions

npx get-skill add paulasilvatech/react18-batching-patterns