← All recipes
Moderne licensed

Import the scoped React JSX namespace

Recipe IDorg.openrewrite.react.19.scoped-jsx-namespaceArtifact@openrewrite/recipes-react

Imports React's JSX namespace for references to the global namespace removed in React 19.

Single recipeProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe org.openrewrite.react.19.scoped-jsx-namespace

If the recipe isn’t available locally, install it with:

mod config recipes npm install @openrewrite/recipes-react