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 and will be removed in the next major release. #159

Open
Mr-XX23 opened this issue Jul 28, 2024 · 2 comments
Open

Comments

@Mr-XX23
Copy link

Mr-XX23 commented Jul 28, 2024

Warning: findDOMNode is deprecated and will be removed in the next major release. 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
at ScrollTrigger2 (http://localhost:0000/node_modules/.vite/deps/react-scroll-trigger.js?v=c10d3976:497:24)
at Counter (http://localhost:0000/src/components/Counter.jsx?t=1722167582777:24:37)
at div
at App

@AkshayRaj1999
Copy link

did you got any solution?
I downgraded the version of React, although I don't think that was a bad idea.

@p333ter
Copy link

p333ter commented Dec 16, 2024

@Mr-XX23
If you like, you can use that one: https://www.npmjs.com/package/@ppasmik/react-scroll-trigger 🫡

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