CodeZettaInterview Hub

Angular · Routing · Mid-Level · Debugging

What is RouterLinkActive and common pitfalls?

Short Interview Answer

It adds CSS classes when the link's route is active; exact matching options matter.

Detailed Explanation

Without exact matching, parent links stay active for children. Configure routerLinkActiveOptions carefully.

Did you know this answer?