Can React 18's automatic batching be relied upon for state updates inside asynchronous callbacks in a repeatable development environment?
Goal: Verify whether React 18’s automatic batching consistently groups multiple state updates that originate from asynchronous callbacks (such as setTimeout or promise resolution) when StrictMode is disabled, providing a predictable single render in a repeatable development setup. Constraints: StrictMode double‑invokes render phases and effect clean‑ups, whi