Remove RootRef
ProprietaryReplaces <RootRef rootRef={ref}>...</RootRef> by a fragment and removes the import, since RootRef is gone in v5. The rootRef has to become the ref of the child by hand.
org. openrewrite. react. mui. remove-root-refmod run . --recipe= org. openrewrite. react. mui. remove-root-refInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.