← All recipes
Moderne licensed

Find effect() usage affected by Angular 19 timing changes

Recipe IDorg.openrewrite.angular.search.find-effect-timing-usageArtifact@openrewrite/recipes-angular

Finds effect() calls from @angular/core. In Angular 19, effects triggered outside change detection now run as part of the change detection process instead of as a microtask, and effects triggered during change detection run earlier, before the component's template.

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-effect-timing-usage

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

mod config recipes npm install @openrewrite/recipes-angular