angular-redux / ng-redux

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

How do I call an angularjs service function inside a reducer? #226

Open stuk88 opened 4 years ago

stuk88 commented 4 years ago

Hey! I need to call a angularjs function inside a Redux Reducer. How should I do that?

zgavin1 commented 4 years ago

You really are not meant to do that that inside a reducer @stuk88 . Without any example code to go off of, it's hard to say but middleware is probably where you would try to do something like that.