You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 26, 2018. It is now read-only.
Hey there! I'm having some trouble using the dispatch methods included with react-router-redux. In particular, when I dispatch push('/foo'), the store picks up on the changes but the browser doesn't budge. I tried calling history.push('/foo') and it seemed to work, so I'm not sure whether I'm wiring something up wrong or there's a compatibility issue. Here's a screenshot of my Redux logs:
Oh gosh, what a horrible facepalm. Totally missed the bit about the middleware. Works beautifully after applying it as more-than-adequately documented:
Hey there! I'm having some trouble using the dispatch methods included with
react-router-redux
. In particular, when I dispatchpush('/foo')
, the store picks up on the changes but the browser doesn't budge. I tried callinghistory.push('/foo')
and it seemed to work, so I'm not sure whether I'm wiring something up wrong or there's a compatibility issue. Here's a screenshot of my Redux logs:...and some code, just for kicks.
Top-Level
render
Callflux/index.js
Sample Broken Component
I'd be grateful for any suggestions you have for troubleshooting this! Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: