Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Init currentLocation to initial location from the store#403

Merged
timdorr merged 1 commit into
reactjs:masterfrom
dlmr:fix-inital-server-load
Jun 6, 2016
Merged

Init currentLocation to initial location from the store#403
timdorr merged 1 commit into
reactjs:masterfrom
dlmr:fix-inital-server-load

Conversation

@dlmr

@dlmr dlmr commented Jun 2, 2016

Copy link
Copy Markdown
Contributor

This solves the problem when the server has initialised the state and the user already has things in their history.

Without this change a superfluous action will be pushed with the same URL that the user is already looking at resulting in that we would need to use the back button twice.

Resolves #313

This solves the problem when the server has initialised the state and the user already has things in their history.
Without this change a superfluous action will be pushed with the same URL that the user is already looking at resulting in that we would need to use the back button twice.

Resolves reactjs#313
@timdorr

timdorr commented Jun 6, 2016

Copy link
Copy Markdown
Contributor

Thank you for this! Sorry for the delay on the review. I'm prepping our house for our first kid, so things have been crazy at home. And I wanted to give this the right attention. I'll push out a new version shortly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants