It was put on by Miško Hevery. You may see it here. ngUpgrade is the way to get Angular 1 to play nicely with Angular 2 and up. Angular 2 code can get wrapped so that it may live in Angular 1 code and Angular 1 code may get wrapped so that it may live in Angular 2 code. There is a distinction between ngUpgrade Full and ngUpgrade Lite. In the full version the two versions really become one app together and in the lighter version there are basically two separate applications just touching each other when appropriate. One of the big distinctions is thus whether or not change detection cascades across everything or stays walled-off to one code base. There is also the concept of ngDowngrade for making the Angular 2 stuff downwards compatible.
No comments:
Post a Comment