-
Notifications
You must be signed in to change notification settings - Fork 195
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 #193
Comments
Any updates on this issue ? |
Any update on this issue? |
Hello everyone, I've been using I came across Framer Motion's useInView functionality, which appears to be actively maintained and robust. The documentation and community support seem promising, offering a viable option for managing visibility in React applications. While Feel free to check it out and see if it aligns with your project requirements! |
findDOMNode was passed an instance of VisibilitySensor 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
Fyi, I use this version :
"next": "^13.1.1",
"react-visibility-sensor": "^5.1.1",
The text was updated successfully, but these errors were encountered: