官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 银川市| 通江县| 桃江县| 兰坪| 吴桥县| 永康市| 沙河市| 沙河市| 弥勒县| 攀枝花市| 乐都县| 洪江市| 马龙县| 石城县| 德化县| 永年县| 于田县| 崇义县| 长治县| 哈密市| 比如县| 无棣县| 千阳县| 桃源县| 北票市| 筠连县| 都安| 湘潭市| 竹北市| 鸡西市| 申扎县| 阳曲县| 北宁市| 罗甸县| 深泽县| 泰安市| 大竹县| 子长县| 深水埗区| 绥芬河市| 丹巴县|