Subject not found.
1.

How would you optimize the application for better performance in angular 2?

Answer»

To optimize an application for optimal performance in Angular 2, we have to follow the below-mentioned steps.

  • USE of AOT compilation.
  • With a large-size app, use lazy loading instead of the FULLY bundled app.
  • Avoid un-necessary import STATEMENTS in the application.
  • Remove unused and unnecessary 3rd party libraries from the application.
  • If not required, consider REMOVING application dependencies.


Discussion

No Comment Found