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

Warning: findDOMNode is deprecated in StrictMode #32

Closed
nickschuster opened this issue Jul 7, 2020 · 3 comments
Closed

Warning: findDOMNode is deprecated in StrictMode #32

nickschuster opened this issue Jul 7, 2020 · 3 comments

Comments

@nickschuster
Copy link

Hi there
Are there any plans to fix this in future updates?

Reference: https://fb.me/react-strict-mode-find-node

Great package!
Cheers

@Learus
Copy link
Owner

Learus commented Jul 8, 2020

Hello.
As far as I'm aware this is a bug in the MaterialUI library. Specifically, I've noticed it appears when using the <Fade> component. I'm reading it appears in other cases as well. Hopefully, it gets fixed on its own. There should be no warning in the production build though, so don't worry about it (for now).

@nickschuster
Copy link
Author

Alright, I checked and you are right it does not appear in production. I guess I will keep an eye on the MaterialUI change log. Thank you for the help!

@illume
Copy link

illume commented Nov 26, 2020

This is supposed to be fixed in Material UI 5.

See https://next.material-ui.com/guides/migration-v4/#non-ref-forwarding-class-components

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

No branches or pull requests

3 participants