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

Issue #547: Fixed Preview Navigator to act as normal browser on handling url history. #548

Closed
wants to merge 1 commit into from

Conversation

Williammer
Copy link

@Williammer Williammer commented Feb 13, 2018

This PR is to fix issue #547

@Williammer Williammer changed the title Fixed Preview Navigator to act as normal browser on handling url history. Issue #547: Fixed Preview Navigator to act as normal browser on handling url history. Feb 13, 2018
@lbogdan
Copy link
Contributor

lbogdan commented Feb 13, 2018

Hey @Williammer, thanks for your PR!

Unfortunately this seems to break SPAs, as it will reload the frame when you press the back / forward navigation buttons in apps that use the html5 history api; for an example see https://codesandbox.io/s/zq380r0wqx vs. http://pr548.cs.lbogdan.tk/s/zq380r0wqx .

@lbogdan
Copy link
Contributor

lbogdan commented Feb 13, 2018

(for reference, this is the PR that refactored preview history handling)

@Williammer
Copy link
Author

@lbogdan Thanks for your information!
Seems like there's some tradeoffs there, I'll check out the related threads in more details.

@lbogdan
Copy link
Contributor

lbogdan commented May 1, 2018

Hey @Williammer , any updates on this? I'm thinking of closing this PR (and the corresponding issue #547 ), as the behavior of clearing the history on preview reload is expected.

@Williammer
Copy link
Author

Sorry, I'll close it.

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