I created my routes
<Provider store={store}>
<Router history={browserHistory}>
<Route path="/" component={App}>
<Route path="/redux" component={redux} />
</Router>
</Provider>
My problem is when I dispatch an action from redux component , the props changed in the /redux
route but in the /
always the initial state. Please who can help me ?
Try to use
react-router-redux
(https://github.com/reactjs/react-router-redux) to synchroniseredux
store withreact-router
.