Tips to make your angular app faster:
while importing your module using lazy loading helps
{ πππ‘β: 'βπππ', πππππππππ‘: π»ππππΆππππππππ‘;}
To using loadChildren:
{πππ‘β: 'βπππ', πππππΆβππππππ: './βπππ/βπππ.ππππ’ππ#π»πππππππ’ππ'}
to make even better use dynamic import() function in Javascript.
{
πππ‘β: 'βπππ',
πππππΆβππππππ: () => ππππππ‘('./βπππ/βπππ.ππππ’ππ').π‘βππ(π =>
π.π»πππππππ’ππ)
},
import statement return a promise. you read more about in given link.
Top comments (0)