Angular 5.2 Now Available – Angular Blog
blog.angular.io
blog.angular.io
Angular is totally ready to be use in prod since a long time now.
Very easy to update:
2-> 4 no gap but my project was starting
4-> 5, very few things on a already big project. In my case the HttpModule, and some internationalization adjustment.
That comment is more or less a recurring experience for me. I've been solving problems that are slightly out-of-the-box of the typical CRUD app, and Angular 2+ has been nothing but pain for me.
Overall, using the framework has worked out great. The other front-end frameworks we've used (including ng1) now seem rather toy-like in comparison. The biggest stroke of genius has to the hierarchical dependency injection. Letting a UI component provide injectable services to its children and their descendents instantly solves so much of the tension between integration and reusability that plagued us in the past.
And the template language is also brilliant. It actually understands the difference between binding to the string-based attributes of an HTML element, and the object-based properties of a DOM object.
This repo is really useful: https://github.com/cexbrayat/angular-cli-diff
It lets you diff a simple project generated with different versions of angular-cli; that way you can easily see the any configuration options etc that have changed between releases.
Specifically, the old model:
request -[latency]> [server] -[latency]> response
Needs to be replaced by:
request -[latency]> [server] -[latency]> response
request -[latency]> [server] -[latency]> response
request -[latency]> [server] -[latency]> response
request -[latency]> [server] -[latency]> response
request -[latency]> [server] -[latency]> response
request -[latency]> [server] -[latency]> response
request -[latency]> [server] -[latency]> response
request -[latency]> [server] -[latency]> response
request -[latency]> [server] -[latency]> response
Why ? Because it's faster ! Damn you !
This is a major issue.
As other points out if a piece of js is cool today it is outdated somewhere next month.
Having worked extensively with both the old angularjs as well as angular 4 and 5 my recommendation is to switch to the new angular if you are going to keep developing it.
2+ shouldn't have even used the Angular name IMO.
I've worked with both 1.3-1.5 as well as 2, 4 and 5 and if I inherited a 1.x codebase I'd rewrite it, if necessary one piece at the time.