Open
Description
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",
Metadata
Metadata
Assignees
Labels
No labels