Find withNoDomReuse usage
Recipe ID
org.openrewrite.angular.search.find-with-no-dom-reuse-usageArtifact@openrewrite/recipes-angularFinds usages of the removed withNoDomReuse function from @angular/platform-browser. This function was removed in Angular 17. To disable hydration, remove the provideClientHydration() call from your providers or use the ngSkipHydration attribute on specific components.
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.search.find-with-no-dom-reuse-usageIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angular