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

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.

主站蜘蛛池模板: 富源县| 宜兰市| 莆田市| 怀集县| 定远县| 余干县| 安溪县| 宜宾市| 池州市| 汾阳市| 镇宁| 博罗县| 武威市| 三穗县| 云和县| 商南县| 镇平县| 缙云县| 闸北区| 成武县| 元氏县| 洞口县| 五峰| 无棣县| 清水县| 新乐市| 古交市| 峨眉山市| 海丰县| 阳东县| 北流市| 彝良县| 灌云县| 延长县| 碌曲县| 城步| 峨眉山市| 大关县| 西畴县| 彭州市| 金堂县|