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

Workaround broken back/forward #245

Merged
merged 1 commit into from
Sep 27, 2015
Merged

Workaround broken back/forward #245

merged 1 commit into from
Sep 27, 2015

Conversation

stevoland
Copy link
Collaborator

#240

This snuck in when I changed history.listen to history.registerTransitionHook.

So we're back to the URL updating synchronously before the transition. I'm unsure why the listenBefore isn't fired by browser history. Is it a bug or should it behave this way?

A more robust solution is required. I feel like it should be found in react-router's useRoutes but it will have to wait for a day or 2.

Apologies!

erikras added a commit that referenced this pull request Sep 27, 2015
Workaround broken back/forward. Fixes #240
@erikras erikras merged commit 5d101a7 into erikras:master Sep 27, 2015
@erikras
Copy link
Owner

erikras commented Sep 27, 2015

👍 @stevoland

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

Successfully merging this pull request may close these issues.

2 participants