next-page-transitions icon indicating copy to clipboard operation
next-page-transitions copied to clipboard

Warning: findDOMNode is deprecated in StrictMode

Open schabluk opened this issue 4 years ago • 1 comments

Hello,

I'm getting this Warning when using StricMode: https://reactjs.org/docs/strict-mode.html

webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:88 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of PageTransition which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node
    in div (created by PageTransition)
    in Transition (created by PageTransition)
    in PageTransition (at _app.tsx:26)

schabluk avatar Sep 19 '20 09:09 schabluk

Its 2022 and am still getting the error Next v12 NextConfig : reactStrictMode: true

alphaolomi avatar Jan 29 '22 15:01 alphaolomi