Add withNoIncrementalHydration() to provideClientHydration()
Recipe ID
org.openrewrite.angular.migration.add-no-incremental-hydrationArtifact@openrewrite/recipes-angularAdds 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-hydrationIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angular