3 ms·
At first maybe but once projects become larger, its often preferable to have a complete toolset which is feature-complete and documented in the same place. I do
by dirtnugget 6y ago
At first maybe but once projects become larger, its often preferable to have a complete toolset which is feature-complete and documented in the same place. I do not like spending time on things such as choosing which router to use, or which extension should be used to handle async operations in redux. Or wether we should write class-based or functional components. Or how to configure production builds. Or wether to use dispatchToProps or hooks. React has gotten quite messy over the years. In my last react project I encountered 3 out of those 5 questions in a 4 week span. Angular projects tend to have the same, reliable dependencies and structure.
I admit that Angular adds some overhead if you have not worked with modules and observables, but it does give you a complete toolset to build very scalable frontends.
And once you dive into ngrx and its ecosystem it becomes clear that Angular has quite some upsides, especially for enterprise software.
There is a reason why NestJS adopted a lot of Angulars patterns such as modules and services. They make the code so much cleaner when used properly.
- antihero 6y ago> I do not like spending time on things such as choosing which router to use, Build the app in such a way that you can change it. Or just use react-router. > wether we should write class-based or functional components Functional > Or wether to use dispatchToProps or hooks. Hooks. But I see what you mean, React's idiomatic patterns do change. Thing is, if you have a class based component you can still use it in amongst your functional hook-based ones. It's still compatible.