Skip to content
ToolShedby Wasim Shaikh

Angular Zoneless & Signals Readiness Checker

Audit package.json, app.config.ts, and Angular components for Zone.js blockers, NgZone usage, legacy decorators, and untracked async updates — 100% client-side.

100% client-side — your Angular code never leaves your browser
Zoneless Readiness Score
Grade F · Zone-Dependent
0/ 100
4 Blockers
5 Warnings
1 Ready

Categorized Diagnostics

zone.js dependency or polyfill detected
Zone.js & Bootstrap
Line 6

zone.js patches browser async APIs globally and prevents true zoneless execution.

Fix: Remove "zone.js" from angular.json polyfills (build & test) and uninstall it from package.json.

provideZoneChangeDetection() is active
Zone.js & Bootstrap
Line 11

Application bootstrap is explicitly configured to use Zone.js-based change detection.

Fix: Replace provideZoneChangeDetection(...) with provideZonelessChangeDetection() (Angular 20+) or provideExperimentalZonelessChangeDetection() (Angular 18–19).

NgZone injection or zone lifecycle API detected
NgZone Usage
Line 36

Uses NgZone.runOutsideAngular, which relies on Zone.js task tracking and is a no-op or broken in zoneless mode.

Fix: Remove NgZone; use signals, afterNextRender() / afterEveryRender(), or ChangeDetectorRef.markForCheck() for external callbacks.

ChangeDetectionStrategy.Default detected
Change Detection
Line 20

Default change detection relies on Zone.js dirty-checking the entire component tree on every async event.

Fix: Switch to ChangeDetectionStrategy.OnPush so the component is explicitly signal- and event-driven.

Legacy @Input() decorator detected
Signal APIs
Line 31

Decorator-based @Input() properties do not automatically notify templates when read inside computed() or signal graphs.

Fix: Run `ng g @angular/core:signal-input-migration` or convert to `input()` / `input.required()`.

Legacy @Output() / EventEmitter detected
Signal APIs
Line 32

@Output() with EventEmitter can be simplified to the lighter, RxJS-free output() API.

Fix: Run `ng g @angular/core:output-migration` to convert to `output()`.

Legacy @ViewChild / @ContentChild query decorator detected
Signal APIs
Line 33

Decorator queries update via lifecycle hooks rather than reactive signals.

Fix: Run `ng g @angular/core:signal-queries-migration` to migrate to `viewChild()` / `contentChild()`.

BehaviorSubject / Subject used for local component state
Async & Reactivity
Line 28

Manual Subjects require async pipe or subscriptions to trigger change detection in zoneless mode.

Fix: Replace synchronous state Subjects with `signal()` and `computed()`, or wrap observables with `toSignal()`.

AsyncPipe (| async) detected
Async & Reactivity
Line 22

AsyncPipe calls ChangeDetectorRef.markForCheck() internally, so it works in zoneless mode—though toSignal() is more ergonomic.

setTimeout / setInterval / Promise without signal update or markForCheck()
Async & Reactivity
Line 37

In zoneless Angular, raw timers and Promises do not trigger change detection unless they update a signal or call ChangeDetectorRef.markForCheck().

Fix: Update a signal inside the callback (e.g. `count.set(...)`) or inject `ChangeDetectorRef` and call `this.cdr.markForCheck()`.

Angular CLI Migration Commands

Copy all
Migrate @Input() decorators to signal inputs
Recommended for your code
ng g @angular/core:signal-input-migration

Converts @Input() fields across your workspace to input() and input.required().

Migrate @ViewChild / @ContentChild to signal queries
Recommended for your code
ng g @angular/core:signal-queries-migration

Converts decorator-based template and content queries to viewChild() / contentChild().

Migrate @Output() EventEmitters to output()
Recommended for your code
ng g @angular/core:output-migration

Replaces @Output() EventEmitter properties with the lightweight output() function.

Remove zone.js from package.json & angular.json
Recommended for your code
npm uninstall zone.js

Also remove "zone.js" from polyfills in angular.json (build and test targets) and src/polyfills.ts.

Continue your Angular Signals & Zoneless migration:

Why Migrate to Zoneless Angular & Signals?

For years, Angular relied on zone.js to monkey-patch browser APIs such as setTimeout, Promise, and DOM events so it could guess when to re-render. Enabling provideZonelessChangeDetection() replaces that global overhead with fine-grained notifications from signal(), OnPush, and template events—cutting bundle size and boosting runtime performance.

Common Zoneless Migration Blockers & Fixes

1. Direct NgZone Dependencies

Blocker: Calling ngZone.run(), runOutsideAngular(), or onMicrotaskEmpty assumes Zone.js is active.

Fix: Remove NgZone, use afterNextRender() for post-render DOM work, and update signals directly.

2. Untracked setTimeout & Promises

Blocker: Mutating a plain class property inside setTimeout or a Promise.then() callback will no longer update the view without Zone.js.

Fix: Store state in a signal() and call .set() / .update(), or call ChangeDetectorRef.markForCheck().

3. Legacy @Input() & @ViewChild()

Issue: Decorator inputs and queries are imperative and do not compose cleanly with computed().

Fix: Run ng g @angular/core:signal-input-migration and ng g @angular/core:signal-queries-migration.

4. zone.js in Polyfills & package.json

Blocker: Leaving "zone.js" in angular.json still ships Zone.js in your production bundle.

Fix: Remove "zone.js" from polyfills in angular.json and run npm uninstall zone.js.

Official Angular Documentation & Migration Guides

Related Angular Developer Tools

Frequently Asked Questions

What is Zoneless Angular and why should I migrate?
Zoneless Angular removes Zone.js monkey-patching from your application and relies on Signals, ChangeDetectionStrategy.OnPush, event listeners, and explicit markForCheck() calls to trigger change detection. This reduces bundle size, improves Core Web Vitals, simplifies stack traces, and avoids unnecessary full-tree dirty checks.
What are the biggest blockers to removing zone.js in Angular?
The most common blockers are direct NgZone usage (run, runOutsideAngular, onMicrotaskEmpty, isStable), raw setTimeout/setInterval/Promise callbacks that mutate plain class properties instead of updating signals or calling ChangeDetectorRef.markForCheck(), and ChangeDetectionStrategy.Default components that depend on Zone.js ticking.
Do I need to replace every BehaviorSubject with signal() before going zoneless?
No. Templates using the async pipe (| async) or toSignal() already notify Angular when values emit. However, replacing local BehaviorSubjects with signal() and computed() eliminates RxJS boilerplate and gives you synchronous, glitch-free reactivity.
What Angular CLI schematics automate the migration to Signals?
Angular provides official schematics for the heavy lifting: `ng g @angular/core:signal-input-migration` for @Input(), `ng g @angular/core:signal-queries-migration` for @ViewChild/@ContentChild, and `ng g @angular/core:output-migration` for @Output().
Is my Angular source code uploaded anywhere?
No. All static analysis, scoring, and CLI command generation run 100% locally in your browser. Your proprietary code and package.json never leave your machine.