Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Get rid of res.clone() #1567

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

Merged
merged 1 commit into from
Mar 30, 2017
Merged

Get rid of res.clone() #1567

merged 1 commit into from
Mar 30, 2017

Conversation

arunoda
Copy link
Contributor

@arunoda arunoda commented Mar 30, 2017

Usually res.clone() should work. But it's not working with the laster Safari (10.1)
It throws the following error when there's prefetching is enabled.

screen shot 2017-03-30 at 7 29 59 pm

So, it simply broke page navigation.

Now, we do not invoke res.clone() anymore.

Usually res.clone() should work. But it's not working with
the laster Safari (10.1)
We need to use a method we do not clone
@leo
Copy link
Contributor

leo commented Mar 30, 2017

This fixes zeit.co and leo.im in Safari! 🚀

@leo leo merged commit d32e69e into vercel:master Mar 30, 2017
@arunoda arunoda deleted the no-more-res-clone branch March 30, 2017 14:29
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
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