Replace useFormState with useActionState
ProprietaryIn React 19, useFormState from react-dom has been renamed to useActionState and moved to react.
org. openrewrite. react.19. replace-use-form-statemod run . --recipe= org. openrewrite. react.19. replace-use-form-stateInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.