-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Thank you for the awesome library.
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!
hjpark2crypto, koushayeganeh, fyfirman and DanForder
Metadata
Metadata
Assignees
Labels
No labels