Hi Valentin,

For now, lazy loading is only possible on module level. So, your idea of a 
module pro page is not a bad idea. As I understand correctly, this will be 
something the CLI supports soon, so it becomes easier to build systems like 
this. 
If you don't want to load every page this way, you can group them together 
in feature modules, and then load a group of pages lazily.

In the future (think 1.5-2 years) Angular Elements will come to aid here, 
and you can start lazy loading n a way more flexible way.
Also, with thy Ivy rendering engine peeking around the corner, the payload 
(in kilobytes) might come down so far, that you don't even need to lazy 
load anymore (for smaller to medium projects)

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to