DEV Community

Discussion on: Lazy loading services in Angular. What?! Yes, we can.

Collapse
 
divnych profile image
divnych

Don't tree-shakable services providedIn: 'root' already cover the use cases you described? Thus, I would rather lazy load a service upon a certain laztAction in my component, I guess. What do you think?

Thanks for the article.