neilff / redux-ui-router

ngRedux bindings for Angular UI Router
MIT License
143 stars 48 forks source link

Problem using redux-ui-router with redux-devtools-extension #98

Closed pedrocalderon closed 6 years ago

pedrocalderon commented 6 years ago

Hello,

I'm having problems to use the redux-ui-router with ng-redux and the redux-devtools-extention. The devtools extension wraps the action with a 'PERFORM_ACTION' action. This breaks the redux-ui-router middleware.

I've made a quick fix, coping the middleware to my program and unwrap the 'PERFORM_ACTION' when necessary. I'd be happy to make a PR with this fix, but I think I may be doing something dumb here.

I tried a lot of solutions, including changing the middleware order. But since ng-redux treats the devTools as an extension this did not work out.

Is there a better way to use the redux-ui-router with the redux-devtools-extention?

Thank you for the help.

pedrocalderon commented 6 years ago

Sory this was a bug with ng-redux described here.