Michele Stieven
1 min readDec 21, 2017

--

Hi! There’s actually no reason to import a Module which is attached to a specific route :) Those modules aren’t meant to be imported since they live by their own, and actually lazy-loading enforces this approach (if you import a module which is lazy loaded, your app will go fairly crazy). However, you NEED to import shared modules and, if you have one, CoreModule. But “View Modules”, as I call them, are meant to be grabbed only by the router!

--

--

No responses yet