3 ms·
Just mentioning, there is ngrx^1 which is the redux pattern for Angular 2 apps. It also integrates with Observables. [1]: https://github.com/ngrx/store https:/
by uitgewis 10y ago
Just mentioning, there is ngrx^1 which is the redux pattern for Angular 2 apps. It also integrates with Observables.
[1]: https://github.com/ngrx/store https://github.com/ngrx/store
- hccampos 10y agoProblem 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.