[WARNING] findDOMNode is deprecated in StrictMode

This issue has been tracked since 2020-05-09.

I'm getting the following warning regarding the react-lazyload:

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of VisibilitySensor which is inside StrictMode. Instead, add a ref directly to the element you want to reference.

Is there any idea about when it'll be resolved? I saw that there was already an issue related to it here but it was closed in 2019.

ameerthehacker wrote this answer on 2020-05-09

@rafaelcamaram the fix is already in beta and I will release it to stable tomorrow

rafaelcamaram wrote this answer on 2020-05-09

I'm glad to know that! 🚀

Thank you for the quick answer

rafaelcamaram wrote this answer on 2020-05-12

@ameerthehacker Is it already published to NPM?

spenceruns wrote this answer on 2020-05-13

I'm having this issue as well. Is there a release date for the fix?

ameerthehacker wrote this answer on 2020-05-13

@rafaelcamaram @spenceruns Sorry could not cut a release last week, will release it this weekend

a20070322 wrote this answer on 2020-05-27

Is it already published to NPM?

rafaelcamaram wrote this answer on 2020-05-27

@ameerthehacker I'm still waiting also

ameerthehacker wrote this answer on 2020-05-27

@rafaelcamaram @a20070322 sorry for the delay, I just wanted the beta to last little longer and I was little caught up with work, if no bugs turn up by end of the week I will publish and update you all

Thanks for your patience on this one

a20070322 wrote this answer on 2020-05-27

Thank you for your efforts and wish you all the best in far away China。

rk2609 wrote this answer on 2020-06-01

@ameerthehacker Any update on the fix?

rafaelcamaram wrote this answer on 2020-06-04

@ameerthehacker Any update? It's already waiting for deploy for 1 month

ameerthehacker wrote this answer on 2020-06-07
ryardley wrote this answer on 2020-06-12

This issue might mean unfortunately we need to remove this from our codebase soon.

ameerthehacker wrote this answer on 2020-06-12

@ryardley apologise, I totally understand how important this is, will be cutting a release today to fix this for good

ameerthehacker wrote this answer on 2020-06-12

@ryardley @rafaelcamaram @rk2609 @a20070322 this has been fixed and release as verion 2.6.8 in npm, do check and let me know

ameerthehacker wrote this answer on 2020-06-14

closing this issue, feel free to reopen if there are any issues

More Details About Repo
Owner Name twobin
Repo Name react-lazyload
Full Name twobin/react-lazyload
Language JavaScript
Created Date 2015-08-07
Updated Date 2022-11-29
Star Count 5639
Watcher Count 52
Fork Count 482
Issue Count 153

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date