redux-saga-router
redux-saga-router copied to clipboard
beforeRouteChange always reports history.action as "POP"
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.