Angular · Middle · Question 28 of 75

How do you lazy-load a standalone component for a route?

Explanation

The bundler puts the component in its own chunk, downloaded on first navigation. For a group of routes use loadChildren that returns a Routes array.

Further reading

Problem with a question

Angular · Middle · question 28

Test yourself

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

Take this quiz