← All recipes
Moderne licensed

Add withNoIncrementalHydration() to provideClientHydration()

Recipe IDorg.openrewrite.angular.migration.add-no-incremental-hydrationArtifact@openrewrite/recipes-angular

Adds the withNoIncrementalHydration() opt out to provideClientHydration() calls that do not already configure incremental hydration. Angular 22 enables incremental hydration by default; the opt out retains the previous behavior.

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.angular.migration.add-no-incremental-hydration

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

mod config recipes npm install @openrewrite/recipes-angular