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

accessing document in componentWillMount problem #2035

Closed
ellemedit opened this issue Nov 2, 2015 · 3 comments
Closed

accessing document in componentWillMount problem #2035

ellemedit opened this issue Nov 2, 2015 · 3 comments
Labels
docs Improvements or additions to the documentation duplicate This issue or pull request already exists

Comments

@ellemedit
Copy link

Hi.

I'm using material-ui with react-starter-kit.
When server side rendering, accessing DOM in componentWillMount can't be accept.
In file material-ui/lib/overlay.js 64 line, it may reference document.

So it doesn't work. Can I get any solutions?

Thank you.

@oliviertassinari
Copy link
Member

#2021 should fix your issue. Can you confirm?

@ellemedit
Copy link
Author

@oliviertassinari Thank you!
It will be fixed if the commit applied.
Is there way to apply the commit for now?

@oliviertassinari
Copy link
Member

You can use this specific commit in the package.json.

@zannager zannager added duplicate This issue or pull request already exists docs Improvements or additions to the documentation labels Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants