Just a lurker here. If anyone has the time, please. I want to understand, why is AngularJS is a problem. Why is changing to React an improvement. And how is this beneficial to the end user. Also, devs (because the change looks like to be rejoiced.) Thank you in advance!
Angular JS is eol and hasn't really been updated for a long time. It was a good framework 10 years ago but now angular2, react and vue are much better alternatives.
Here are a few points against AngularJS, having used it extensively almost a decade ago:
Not up to date - there hasn't been a major update for 6+ years. This means that the source code doesn't make use of newer JS features which would potentially make it perform better.
The event / change detection system - AngularJS uses a monkey-patched event system to respond to changes (the idea is that unless an event is triggered, there can't really be any changes applied) and this is not only painfully slow compared to modern methods, e.g.: one-way binding in React, but is not guaranteed to work forever, as browsers advance, new things creep into the spec that need to be addressed otherwise the framework can stop working.
Not compatible with TypeScript. Due to how DI works in AngularJS (and Angular - more on this later) it is impossible to provide proper typings via TypeScript. There is just no way for a static compiler to know what dependencies are going to be available during runtime and DI is arguably the biggest part of AngularJS.
Angular also suffers from some of the same issues as AngularJS, but it was written in TS and given some additional compiler magic to compensate for this and allow type checking.
6
u/kalarisel Jun 26 '21
Just a lurker here. If anyone has the time, please. I want to understand, why is AngularJS is a problem. Why is changing to React an improvement. And how is this beneficial to the end user. Also, devs (because the change looks like to be rejoiced.) Thank you in advance!