I ran into an issue with thunk and dev tools. Before I realized that 3.5.2 still works for that, I tried just injecting $ngRedux into a factory and using $ngRedux.dispatch, rather than using a thunked action creator.
Going this route, I no longer used mapDispatchToTarget and just injected the service and used it like I would have pre-redux.
Question: Is there anything wrong with this method that I'm overlooking? It seems so simple. :)
PS: Love the library, thanks.
Here is an example with the thunk methods commented out.
I ran into an issue with thunk and dev tools. Before I realized that 3.5.2 still works for that, I tried just injecting $ngRedux into a factory and using $ngRedux.dispatch, rather than using a thunked action creator.
Going this route, I no longer used mapDispatchToTarget and just injected the service and used it like I would have pre-redux.
Question: Is there anything wrong with this method that I'm overlooking? It seems so simple. :)
PS: Love the library, thanks.
Here is an example with the thunk methods commented out.
Then in the component