Angular in 2022 is simpler than react. It’s what react was in 2015 when Angular 1.x was a complicated and annoying beast.
Now, Angular is simple and pleasant; while my scaled, hooks infested, react apps make me feel like I’m handicapping myself.
Angular in 2022 is simpler than react. It’s what react was in 2015 when Angular 1.x was a complicated and annoying beast.
Now, Angular is simple and pleasant; while my scaled, hooks infested, react apps make me feel like I’m handicapping myself.
Surely you must be joking. You have to learn all of these things to make the tiniest CRUDdy app:
- angular modules
- angular template syntax
- angular decorators
- angular dependency injection
- rxjs
I mean, look at the FULL table of contents for their “Get data from a server” doc! [0]I can’t speak about next.js, it doesn’t fit my use case. But claiming that “Angular is simpler than React” is ludicrous.
With decorators and dependency injection at least you're learning a concept which has been quite widely used across some popular languages/frameworks, there's a chance you'd already have come across these ideas in learning programming.
rxjs definitely can take some learning time, though to get started with basic things like handle an api request with observable it doesn't take long. There's a whole lot you can do, and that power is quite useful for complex scenarios.
Powerful tools often put people off because they appear complex. Often that complexity is at least partly an illusion - once you've learned the abstractions, much of what seemed to be complexity can actually be very simple.
Dependency injection is the exact same thing, only with different syntax.
If Angular is indeed simple and pleasant, perhaps there's a space for a clone and a new name, like NodeJS versus Rails.
For me Angular 1.x was simple and pleasant, first JS framework that I really liked to use back when MEAN stack was popular. Angular 2+ is what you call "complicated and annoying beast".
> my scaled, hooks infested, react apps make me feel like I’m handicapping myself
I know what you mean, I hope Vue 3+ or Solid will slowly replace React.
nothing prevents you from just using classic classes with react. we have 0 hooks on our code and we are not missing out on any feature.
I wish some of my other projects we are as easy to maintain and extend.
react + flow + redux + sagas feel like a cheat code. it shouldn't be so easy to program javascript.