Re:Angular 4.0.0 Now Available
by hesarenu on Friday March 24, 2017 @01:58AM
(#13946997)
As a longtime redux user i am all into Mobx now. It is simpler then redux.
[ Parent
| on HN ]
Just mentioning, there is ngrx^1 which is the redux pattern for Angular 2 apps. It also integrates with Observables.
Problem is you get a cumbersome templating language, extremely verbose component declarations, even more verbose dynamic components and a bunch of other horrible stuff.
In React it is a breeze to make Higher Order Components to connect to a store and it also makes it much easier to separate those smart components from small reusable presentation components.
I have seen people shy away from making smaller components just because Angular makes it so damned painful to make components. It is just easier to stuff everything in a template and copy paste everything around, which leads to a serious case of spaghetti code. I am happy for you if you don't have to work with something like that. I do, and I can tell you it is not nice in any way.