- Expert Angular
- Mathieu Nayrolles Rajesh Gunasundaram Sridhar Rao
- 117字
- 2021-07-15 17:05:37
Strategies to upgrade to Angular
There are different upgrade strategies available to migrate to Angular. They are as follows:
- One time: Replacing the entire AngularJS app, rewriting the code in Angular starting at one point.
- Incremental: Upgrading the existing app one service or component at a time, running AngularJS and Angular side by side.
If the AngularJS app is small, then rewriting at one time is probably the easiest and fastest way to upgrade. If the AngularJS app is larger and can't rewrite the whole code at once, we need to rewrite step by step, component by component, service by service. This is called incremental upgrading. However, running ng1 and ng2 side by side has performance implications.
推薦閱讀
- Mastering AWS Lambda
- Building a RESTful Web Service with Spring
- 認(rèn)識(shí)編程:以Python語(yǔ)言講透編程的本質(zhì)
- Vue.js 3.0源碼解析(微課視頻版)
- RTC程序設(shè)計(jì):實(shí)時(shí)音視頻權(quán)威指南
- Magento 2 Development Cookbook
- Koa開(kāi)發(fā):入門、進(jìn)階與實(shí)戰(zhàn)
- Mastering Swift 2
- Cassandra Data Modeling and Analysis
- Apache Karaf Cookbook
- Building RESTful Python Web Services
- Windows Phone 7.5:Building Location-aware Applications
- Learning Unreal Engine Android Game Development
- Python機(jī)器學(xué)習(xí)與量化投資
- Python GUI Programming Cookbook(Second Edition)