How can I improve load performance of Angular2 apps?

前端 未结 6 1501
走了就别回头了
走了就别回头了 2020-12-04 06:47

Angular2 app is loading slow, how can I improve the performance on load?

I use Angular2, typescript with html5.

currently my app takes 4 seconds to load. I h

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 07:24

    because its SPA and angular 2 init too slow. thats it. plus RXjs, tons of polifills etc. AOT can help but a lot of angular2 libs do not work with it. angular universal realy helps

提交回复
热议问题