You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything works however I received two errors from React StrictMode for the deprecated findDOMNode.
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of SizeMeReferenceWrapper which is inside StrictMode. Instead, add a ref directly to the element you want to reference.
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of GridItem which is inside StrictMode.
I believe both of them are originating from SizeAwareComponent file.
FYI, I am not using react-sizeme to handle responsive as that package is also giving StrictMode warning as well. Instead, I am using react-resize-detector to detect width.
Any pointer is appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
dariusstephen
changed the title
StrictMode warnings
StrictMode warnings from SizeAwareComponent
Mar 22, 2022
Thank you for the awesome library.
Everything works however I received two errors from React StrictMode for the deprecated findDOMNode.
I believe both of them are originating from SizeAwareComponent file.
FYI, I am not using react-sizeme to handle responsive as that package is also giving StrictMode warning as well. Instead, I am using react-resize-detector to detect width.
Any pointer is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: