-
Notifications
You must be signed in to change notification settings - Fork 351
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(packages): check canUseDOM before using DOM #5733
Conversation
PF4 preview: https://patternfly-react-pr-5733.surge.sh |
If canUseDOM returns false, wouldn't that make the page broken (no event listeners) without any warnings? Or is canUseDOM expected to be true most of the time? |
@kmcfaul If If |
Ah I see, thanks for clarifying! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Your changes have been released in:
Thanks for your contribution! 🎉 |
What: Closes #5732
Additional issues: