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

Update isBrowser.js - check if navigator is available #768

Merged
merged 1 commit into from Apr 22, 2019

Commits on Apr 9, 2019

  1. Update isBrowser.js

    Some implementations of server-side rendering support `window` and `document` objects but `navigator` could be undefined. To prevent error-prone behavior we should check the existence of `navigator` object in global scope.
    mrzepinski committed Apr 9, 2019
    Copy the full SHA
    0929956 View commit details
    Browse the repository at this point in the history