Remove unstable_batchedUpdates

Proprietary

Removes unstable_batchedUpdates wrappers from react-dom. React 18 automatically batches all state updates on roots created with createRoot or hydrateRoot, the only roots React 19 supports, making this function unnecessary.

org.openrewrite.react.19.remove-unstable-batched-updates
mod run . --recipe=org.openrewrite.react.19.remove-unstable-batched-updates

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.