acdlite / redux-router

Redux bindings for React Router – keep your router state inside your Redux store
MIT License
2.3k stars 200 forks source link

Link cann't add the router information to the redux's state #277

Open captainwooder opened 8 years ago

captainwooder commented 8 years ago

Version

rudux-router 2.0.0 react-router : 2.5.2

Steps to reproduce

currrent router's location.pathname: /home then click:

<Link to={{pathname:'/test/forfun'}}>ENJOY

Expected Behavior

router 's location.pathname: /test/forfun

Actual Behavior

router 's location.pathname: /home

I print the global state of the redux.But the state after clicking the Link don't have the corresponding route state.