-
Notifications
You must be signed in to change notification settings - Fork 393
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 - error #1137
Comments
Odd, I just came across this too with |
This is due to react-transition-group, I am going to try and work around it without breaking changes :/ |
Thanks for the quick reply. Would you mind sharing roughly what code uses this and maybe I'll have a look to see if I can help when I'm free? |
You can search in the repo, but probable the SlideDownTransition component specifically |
It looks like they may have added a workaround: https://github.com/reactjs/react-transition-group/blob/master/CHANGELOG.md#440-2020-05-05 |
how to add the useRef hook to the Combobox component to fix the same issue? @quinn |
running into this issue. any updates? |
Im getting this error with the combobox.
react_devtools_backend.js:4026 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition2 which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here:
The text was updated successfully, but these errors were encountered: