Writing
The React 18 change that broke our data grid
Upgrading six apps to React 18, the one thing that really broke was automatic batching: a class-based grid that read its own state right after setting it. What changed, how to find it, and when flushSync is the right fix.