CodeZettaInterview Hub

Angular · Zoneless Angular · Senior · Live Coding

How do you trigger UI updates without Zone.js after setTimeout?

Short Interview Answer

Update a signal or call ChangeDetectorRef.markForCheck/detectChanges inside the callback.

Detailed Explanation

Wrapping in NgZone.run is the Zone-era approach; zoneless prefers signals. Test carefully.

Did you know this answer?