react-scroll-trigger icon indicating copy to clipboard operation
react-scroll-trigger copied to clipboard

findDOMNode is deprecated and will be removed in the next major release.

Open Mr-XX23 opened this issue 1 year ago • 2 comments

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

Mr-XX23 avatar Jul 28 '24 12:07 Mr-XX23

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

AkshayRaj1999 avatar Oct 05 '24 03:10 AkshayRaj1999

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

p333ter avatar Dec 16 '24 11:12 p333ter