I am new in Angular2, I know flux architecture and ng2 redux, ngrx/store but still confused which library is used for development of an application. Both of are provided the implementation of flux. What is the difference between ng2-redux and ngrx/store? What should be used in development?
From what I understand, the primary difference between the two is that ng2-redux uses Angular bindings for existing React/Redux implementation, whereas ngrx/store is an entire reimplementation of Redux concepts. As a result, some people will argue that ng2-redux has better compatibility with React/Redux libraries, middleware, and devtools.
hendrikswan on Github, who made a pretty good Pluralsight course on Angular with Redux, also claims that ng2-redux is a "more optimized way" to introduce Redux to an existing Angular application. (Source)
Despite all that, if you look and the ng2-redux Github vs the ngrx/store, looks like ngrx/store is a bit more popular. :)
Both are valid solutions to store management, so really it might just boil down to preference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With