Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beforeRouteChange always reports history.action as "POP" #26

Open
slashwhatever opened this issue May 31, 2018 · 0 comments
Open

beforeRouteChange always reports history.action as "POP" #26

slashwhatever opened this issue May 31, 2018 · 0 comments

Comments

@slashwhatever
Copy link

See screenshot: https://puu.sh/Awx72/96dad7e153.png

There are two sets of logging lines: one is in the beforeRouteChange method passed in as options to redux-saga-router, the other is using react-router-redux to listen to history updates. The latter doesn't post an initial log line but beforeRouteChange correctly logs a POP action.

However, for some reason, beforeRouteChange continues to always report a routing action as POP when it should (I think) be PUSH for subsequent routing actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant