Angular · Junior · Question 43 of 75

How do you create a navigation link without a full page reload?

Explanation

routerLink navigates on the client. routerLinkActive="active" adds a class when the link matches the current URL. A plain href reloads the whole application.

Further reading

Problem with a question

Angular · Junior · question 43

Test yourself

Take the Angular · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz