Use the new JSX transform
ProprietarySwitch tsconfig.json, Babel and ESLint JSON configuration to the new JSX transform introduced in React 17, so JSX no longer needs React in scope.
org. openrewrite. react.17. use-new-jsx-transformmod run . --recipe= org. openrewrite. react.17. use-new-jsx-transformInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.