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

Initial Route Not Recorded In Actions #58

Closed
andrew-d-jackson opened this issue Sep 19, 2017 · 3 comments
Closed

Initial Route Not Recorded In Actions #58

andrew-d-jackson opened this issue Sep 19, 2017 · 3 comments

Comments

@andrew-d-jackson
Copy link

More of a request than a bug.

I could be wrong but currently it looks like the initial route is gotten through the initial state of the reducer. This means it is not recorded in the actions history exported by redux-dev-tools. So importing the history and time traveling wont work properly unless you import in the same initial route as it was recorded in.

Could we initially dispatch a location-change action with the initial route so the initial route is recorded in the action history.

@franciscolourenco
Copy link

franciscolourenco commented Jul 18, 2018

I've migrated from react-router-redux and this is missing. :(

@franciscolourenco
Copy link

@supasate Would you welcome a PR with this change?

@supasate
Copy link
Owner

Fixed in #96.

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

3 participants