question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[WARNING] findDOMNode is deprecated in StrictMode

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16

github_iconTop GitHub Comments

5reactions
ameerthehackercommented, May 13, 2020

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

4reactions
ameerthehackercommented, Jun 12, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Warning: findDOMNode is deprecated in StrictMode ...
The solution to resolve the warning is by using React refs. Refs helps to access DOM nodes or React elements created in the...
Read more >
React warning: findDOMNode is deprecated in StrictMode ...
When working with React.js, you will probably come across an annoying warning: Warning: findDOMNode is deprecated in StrictMode.
Read more >
React.StrictMode throws warning because of `findDOMNode ...
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of StyledComponent which is inside StrictMode.
Read more >
How do I fix warning findDOMNode is deprecated ... - YouTube
How to fix finddomnode warning with two different method : Warning : findDOMNode is deprecated in StrictMode. findDOMNode was passed an ...
Read more >
JavaScript : Warning: findDOMNode is deprecated ... - YouTube
JavaScript : Warning : findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found