I have many components in the angular route file. This takes much time for compilation. I got an idea of commenting on unnecessary components in the route file so that the compilation can be faster.
But didn’t noticed much difference in the compilation time.
Is there a way so that I can disable some components or modules from compiling and loading in the UI for better performance.
Source: Angular Questions