tomalaforge / angular-challenges

Set of Angular challenges to practise and train on Angular
https://angular-challenges.vercel.app
976 stars 1.39k forks source link

Answer:52 lazy load component (author solution) #991

Closed LMFinney closed 3 weeks ago

LMFinney commented 3 weeks ago

Lazy load via defer The visual effect of deferral will work if AppComponent and/or TopComponent are NgModule-based. However, in order for lazy loading to happen, both need to be standalone.

Checklist for challenge submission

Warning:

Alternatively, you can still submit your PR to join the list of answered challenges or to be reviewed by a community member. 🔥

tomalaforge commented 3 weeks ago

Thanks a lot for your solution 🔥