Fixing React useState Updates That Batch Silently in Async Event Handlers
React's automatic batching quietly swallows multiple setState calls inside async handlers, leaving your UI one render behind. Here's exactly what's happening and how to fix it without rewriting your components.