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

Switching to the One Angular

Although the content of this book can be properly digested without any prior AngularJS or Angular experience, you will get most of the book if you are familiar with the basics of AngularJS and you are willing to switch to Angular.

On the internet, often AngularJS and Angular 1 are used interchangeably to refer to the AngularJS framework. This misconception leaves AngularJS experts confused about the Angular versioning. Very often, in many community events, I get questions similar to this one:

I just learnt Angular X, but I heard that Angular X+1 is coming in 6 months. Does this mean I should learn a new framework?

Here, you can replace X with any number bigger than 2.

The short answer to this question is: no, you don't have to learn a new framework when a new major version is released. In fact, the API deprecations between Angular 2 and Angular 5 can be listed on a few lines.

This confusion was brought mostly by incorrectly referring to AngularJS as Angular 1, which makes developers believe that every new version of Angular will be as different from the old one as Angular is from AngularJS.

Along the remaining sections of this chapter and in Chapter 2, Get Going with Angular, we will explain how Angular differs from AngularJS and why the development of a new framework was required.

主站蜘蛛池模板: 六安市| 辽源市| 邢台市| 资源县| 乐陵市| 兴国县| 东光县| 民勤县| 泸溪县| 九龙坡区| 昆山市| 滨海县| 通化市| 滨海县| 青岛市| 盘山县| 南汇区| 西贡区| 始兴县| 全州县| 民丰县| 县级市| 若尔盖县| 眉山市| 张掖市| 恩平市| 石台县| 霍城县| 宁国市| 格尔木市| 临沂市| 灵武市| 安新县| 抚州市| 峨山| 石家庄市| 邹城市| 同仁县| 蒲城县| 祥云县| 宜州市|