or may be there is another way?
And there is an old recipe with react-redux-router .../redux.md
I'm not sure, but as a guess, I imagine you could use the old recipe combined with connected-react-router breaking changes from v4 -> v5.
This has reminded me: The recipe doesn't actually call bindActionCreators and you would have to wrap the action creators somehow:
effects: {
push: (...args) => dispatch(push(...args))
}
Just to advertise: I also spit-balled a way to fix up the encapsulation here and a better way to distribute recipes in #572 - The big unknown of course is the recipe packaging.
Thank you, guys!
I will take a look at your ideas.
By the way, here is the project that, I think could be included inside examples and we could update it to have routing and selectors and other rematch features?
Please let me know what do you think about it.
https://github.com/alexicum/sales-size
P.S. Now it is overcomplicated a little (includes heroku), and I plan to replace server with axios-mock-adapter.
I have the same problem with react router before for my solution I migrate to use ConnectedRouter.
You can try : https://codesandbox.io/s/72o3k1z3nq
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
I have the same problem with react router before for my solution I migrate to use ConnectedRouter.
You can try : https://codesandbox.io/s/72o3k1z3nq