← All recipes
Moderne licensed

Find server-side rendering API usage

Recipe IDorg.openrewrite.react.search.find-server-rendering-usageArtifact@openrewrite/recipes-react

Finds usage of React server-side rendering APIs from react-dom/server including renderToString, renderToStaticMarkup, renderToNodeStream, and renderToStaticNodeStream to help plan SSR migration.

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.search.find-server-rendering-usage

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

mod config recipes npm install @openrewrite/recipes-react