-
Notifications
You must be signed in to change notification settings - Fork 134
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
Safely access window
or wait until after calling .init
#235
Comments
Hi @dcurletti! I have been able to reproduce your issue with a simple server side rendering setup. Thanks for the feedback! |
We experienced same issue using this package in |
@bcaudan Thanks 🎉 |
@dcurletti, @slavik-chapelskyi it should be fixed in v1.5.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We would like to implement RUM in our server-side rendered React application. We get an error at runtime because this library attempts to access
window
during script load.The ask is:
window
until after callinginit
?OR
window
and do an early termination if its not defined?We reverted to execute the code via html script download, but would really like to avoid that. Thanks!
The text was updated successfully, but these errors were encountered: