CodeZettaInterview Hub

Angular · Guards · Mid-Level · Architecture

What are risks of doing heavy async work in guards?

Short Interview Answer

Slow navigations, race conditions, and duplicated fetches with resolvers/components.

Detailed Explanation

Keep guards fast—auth token check, not full data load. Prefetch in resolvers or components with loading UI.

Did you know this answer?