react-sizeme icon indicating copy to clipboard operation
react-sizeme copied to clipboard

<StrictMode> warning

Open feimosi opened this issue 6 years ago • 5 comments

React StrictMode is throwing a warning because of findDOMNode usage. Are you considering changing the approach?

feimosi avatar Nov 20 '18 11:11 feimosi

Happy to accept any PRs for alternatives. :)

For now it's just a warning. Code still works.

ctrlplusb avatar Apr 29 '19 16:04 ctrlplusb

I just came across the same warning, 1 thing that definitely works is, well, disable strict mode

librz avatar Aug 04 '20 04:08 librz

Same here

AlexanderMatveev avatar Oct 01 '20 18:10 AlexanderMatveev

same here

michaelrodov avatar Dec 27 '20 10:12 michaelrodov

Ended up migrating to https://www.npmjs.com/package/react-resize-detector#user-content-refs

jlarmstrongiv avatar Sep 18 '21 11:09 jlarmstrongiv