2
Hello good afternoon everyone...
I’ve been an angular developer for a while, and I’ve come across two ways to make the famous Lazy-Loaded, which are:
{ path: 'rota', loadChildren: '../module/function.module#FunctionModule'}
and
{ path: 'rota', loadChildren: () => import('../module/function.module').then(m => m.FunctionModule)}
I searched on the internet the difference between the two but never found anything related!
I wonder if there really is a difference between those two calls, or are they just different ways of doing the same thing??
Anyway thank you in advance...
I understand perfectly. Just to confirm, this does not lead to any performance gains in the application?
– Guilherme Nunes
No but I refactored pro mode new in my application because these legacies never know until when they will give support.
– Eduardo Vargas