Angular or Angular

-2

I saw some questions here on the site related to this but it was more related to updating from one to the other and others were closed ...

What are the main differences from one to the other?

Even though it's an older version, can AngularJS have minor updates? (I have the impression that during the creation of a project using AngularJS an update has appeared, but it may have been just printing)

    
asked by anonymous 20.06.2018 / 03:01

1 answer

1

The main differences are:

  • Angular cli : Although in angularjs you can generate the project with tools like generate . For example to generate components, services, etc. In addition to being able to compile your code for production or to serve the same with hot-reload that leaves development much faster.

  • RxJs : Angle uses rxjs by default to make data flow through your application. The reactive functional programming style, however complicated it may have been at the beginning, allows for much more elegant code and much more control over the flow of your application data.

  • Performance: The angle has an out-of-the-box performance that is much better than js, and it also enables several techniques to make performance even better like AOT or lazy-loading.

  • Support and new features : After the release of the version 1.7 of angularJs the team will stop with new features and will only have bugfixes. Therefore, it will be much more difficult to have compatibility with new PWA technologies, etc. While the angular is in full swing with semiannual releases with new technologies and features in addition to performance improvements.

Other points: Angular and much easier to test. And the community is also getting faster migrating pro angular.

    
20.06.2018 / 15:11