We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
When debugging React Native, SWR v0.4.1 is causing the following error:
document is not defined
It's due to all changes where we use document without checking if it exists:
0.4.0...0.4.1
if (!IS_SERVER && window.addEventListener) { // ... window.addEventListener(
Became this:
if (!IS_SERVER && window.addEventListener && document.addEventListener) { // ... document.addEventListener(
V0.4.0 is working fine
The text was updated successfully, but these errors were encountered:
I've created a PR to fix this. #963
Sorry, something went wrong.
Can we get a release for this please? As the latest version is broken on React Native, pretty essential to get this out there asap?
@mikevercoelen That makes sense for me. @shuding Could you publish a new version?
Sorry for the delay, just published version 0.4.2 🙏
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
When debugging React Native, SWR v0.4.1 is causing the following error:
document is not defined
It's due to all changes where we use document without checking if it exists:
0.4.0...0.4.1
Became this:
V0.4.0 is working fine
The text was updated successfully, but these errors were encountered: