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

fix: isBrowser false positives #769

Open
wants to merge 1 commit into
base: beta
Choose a base branch
from

Conversation

AaronO
Copy link

@AaronO AaronO commented Jan 11, 2022

Feature detect against document instead of window to avoid false positives in environments like Deno that define a window global but no document

Feature detect against `document` instead of `window` to avoid false positives in environments like Deno that define a `window` global but no `document`
@huozhi
Copy link
Member

huozhi commented Jan 11, 2022

Hi @AaronO could you provide an example that how you use styled-jsx with deno?

@huozhi huozhi deleted the branch vercel:beta January 20, 2022 21:16
@huozhi huozhi closed this Jan 20, 2022
@huozhi huozhi reopened this Jan 20, 2022
@msklive msklive mentioned this pull request Apr 26, 2022
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.

None yet

2 participants