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

findDOMNode is deprecated in StrictMode #399

Closed
SeyyedKhandon opened this issue Jun 28, 2021 · 1 comment
Closed

findDOMNode is deprecated in StrictMode #399

SeyyedKhandon opened this issue Jun 28, 2021 · 1 comment

Comments

@SeyyedKhandon
Copy link

Here is the error which I got when using notistack, when the snack bar disappears this error will be printed out in browser console:

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node

@iamhosseindhv
Copy link
Owner

Duplicate of #257 #345

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

2 participants