Thinking in Angular 2 when coming from an Angular 1 background

后端 未结 2 1223
日久生厌
日久生厌 2021-01-18 12:53

Lets say I have become comfortable with developing client-side SPA\'s with angular 1 but now I want to make the change to Angular 2.

Who would be some of the importa

2条回答
  •  不思量自难忘°
    2021-01-18 13:37

    Main difference in architectural design is probably the unidirectional data flow and the focus on components.

    Start using controllerAs with Typescript classes as your controllers if you want a more easy transition. Start learning the basics of RxJS, Ng2 is built on it.

提交回复
热议问题