acdlite / acdlite/redux-router
Link cann't add the router information to the redux's state
- Dominant language
- JavaScript
- Stars
- 2.3k
- Forks
- 194
- PR merge metrics
- No merged PRs in 30d
Description
## Version
rudux-router 2.0.0
react-router : 2.5.2
## Steps to reproduce
currrent router's location.pathname: /home
then click:
> 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.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue is about a Link component not updating the router state in the Redux store. Start by examining the Link component implementation and how it dispatches actions. Check the redux-router bindings to see how route changes are supposed to sync. Look at the store's state after a click to verify the missing update. A test case reproducing the steps would confirm the fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, redux
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100