angular-redux / ng-redux

Angular bindings for Redux
MIT License
1.16k stars 177 forks source link

Create multiple stores #135

Closed dwiyatci closed 7 years ago

dwiyatci commented 7 years ago

Possibility? 🤔

mblodorn commented 7 years ago

"If you're coming from Flux, there is a single important difference you need to understand. Redux doesn't have a Dispatcher or support many stores. Instead, there is just a single store with a single root reducing function. " You can read more at: http://redux.js.org/docs/api/Store.html

AntJanus commented 7 years ago

@dwiyatci you can create multiple stores using vanilla Redux, you just can't bootstrap them together in a single AngularJS application and that's by design. Redux in React works the same way. You can also refer to @mblodorn 's comment.