4 ms·
Why would you use both redux and angular ?
by polskibus 9y ago
Why would you use both redux and angular ?
- RussianCow 9y agoWhy not? Redux is a very good, framework-agnostic state management solution. There is no reason you can't use it with Angular. Edit: Contrary to what the readme says, it looks like the project actually uses ngrx, not Redux (unless I'm missing something).
- tomseldon 9y agoI like also how the README disagrees with itself several times on what tech it's using :D > Angular(4.2) E-Commerce front-end framework for spreecommerce > built with ️ using Angular2, Redux > built with ️ using Angular 5, Redux/ngrx-store 4 > Current version of Angular is latest release 4.0.0. I don't mean to sandbag the project at all, it looks good (I haven't really dug into it yet)! But would be nice if the README could decide on what it actually is. :)
- TIJ 9y agoYes, I agree over time the README needs some maintenance I'll update it! Thanks for pointing it out.
- TIJ 9y agoI think @tomseldon summarised the explanation to your concern.
- tomseldon 9y agoRedux is a paradigm for handling data flow / application state in an application, whilst Angular is the framework running the application. They're not mutually exclusive :) Without using something like Redux, you can get by just fine for small apps (and arguably it could be more of a hindrance and over-complication than a help), but for anything more serious it can help a lot.
- TIJ 9y agoThanks for the explanation!