Automatic Batching: Inconsistent Render Counts Across Event and Timer Callbacks
Goal Determine the precise conditions under which React 18's automatic batching groups multiple state updates into a single render. Constraints and uncertainty Automatic batching is documented to apply to event handlers and promise callbacks but excludes timer-based callbacks outside React's control. In Concurrent Mode, the scheduler may further delay batche