Angular · Senior · Question 31 of 75

Why might a component inside @defer still end up in the main bundle?

Explanation

Dependencies of a defer block must be standalone and used only inside it. Any eager reference forces the compiler to load them eagerly.

Further reading

Problem with a question

Angular · Senior · question 31

Test yourself

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

Take this quiz