Remove unstable_batchedUpdates
ProprietaryRemoves 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-updatesmod run . --recipe= org. openrewrite. react.19. remove-unstable-batched-updatesInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.