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 c159d88a03

Frequently asked questions

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