Closed darkyin87 closed 8 years ago
Take a look at the actions being dispatched in all your cases (pushState, dispatch(pushState) and Link). Are there differences in what actions are being dispatched or not dispatched?
@Scarysize When I do the pushState, Link I do not see any actions getting dispatched in the redux devTool.
Have you tried reordering in your compose
function? First your middleware and afterwards the reduxReactRouter
? Or maybe something in your middlewares is wrong...
@darkyin87 I'd like to see the component you were calling this from. My suspicion would be that pushState
wasn't bound via Redux with the connect method which is why it never showed up in devTools
I am new to react and redux so any help would be appreciated.
configurestore.js
routes.js
I have a link tag in my WelcomePage.
Expected: Transition to install page. Actual: URL gets updated, but the component does not get rendered.
Note: If I change the Link to an anchor tag, listen for the onclick event and do
it does work
Again if I just do pushState, it does not redirect to the correct component
Thanks in Advance