Angular 17 standalone components slow down project

129 views Asked by At

I have a huge project on Angular 17, I tried to migrate all of my components to standalone but there is an issue. For example for my HomeComponent on module based Angular 3 js chunks are being downloaded with total size of 5.3MB and after migration 80 chunks are being download with total size of 3.9MB. Total size is significantly reduced but on the other hand number of chunks that are being downloaded is increased which is causing my application to run slower. ( these 80 chunks are created because my home page is using multiple components and modals and pipes and directives and .. which are all divided into different chunks after changing them to standalone )

0

There are 0 answers