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

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.

主站蜘蛛池模板: 永丰县| 鹤山市| 邻水| 新乐市| 阳朔县| 广昌县| 澄城县| 抚松县| 海南省| 通州区| 平乡县| 陵水| 景宁| 涞水县| 赞皇县| 平顺县| 宁晋县| 扎鲁特旗| 通州市| 开鲁县| 大足县| 昭通市| 滕州市| 岱山县| 富阳市| 共和县| 龙门县| 舒城县| 收藏| 盐源县| 峡江县| 本溪| 桂阳县| 武邑县| 祁东县| 美姑县| 连平县| 航空| 观塘区| 通海县| 赤水市|