Replace act import from react-dom/test-utils
ProprietaryIn React 19, act has been moved from react-dom/test-utils to react. This recipe updates the import statement.
org. openrewrite. react.19. replace-act-importmod run . --recipe= org. openrewrite. react.19. replace-act-importInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.