← All recipes
Moderne licensed

Find deprecated RootRenderer usage

Recipe IDorg.openrewrite.angular.search.find-root-renderer-usageArtifact@openrewrite/recipes-angular

Finds imports of the deprecated RootRenderer from @angular/core. RootRenderer was part of the View Engine API, deprecated in Angular 4, and removed in Angular 9. Use RendererFactory2 instead.

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-root-renderer-usage

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

mod config recipes npm install @openrewrite/recipes-angular