Replace ReactFragment with Iterable<ReactNode>
ProprietaryReplaces React's ReactFragment type, removed in @types/react 19, with Iterable<ReactNode>, or with ReactNode where the installed @types/react 16 or 17 still declares it as a {} union that takes any element.
org. openrewrite. react.19. deprecated-react-fragmentmod run . --recipe= org. openrewrite. react.19. deprecated-react-fragmentInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.