Rename afterRender to afterEveryRender
Recipe ID
org.openrewrite.angular.migration.rename-after-renderArtifact@openrewrite/recipes-angularRenames afterRender to afterEveryRender in imports and usages. The afterRender function was renamed to afterEveryRender in Angular 20, and Angular provides no migration schematic for this change.
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.rename-after-renderIf the recipe isn’t available locally, install it with:
mod config recipes npm install @openrewrite/recipes-angular