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.

findDOMNode is deprecated in StrictMode

See original GitHub issue

The Table component from the react-virtualized package is throwing a warning:

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

I’m also not sure if this warning is preventing the content of my table from rendering or not as I haven’t figured that out yet.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:24
  • Comments:17

github_iconTop GitHub Comments

13reactions
CoachRDevelopercommented, Jan 7, 2021

+1, having the same error in my console. Everything seems to work though.

4reactions
beewithucommented, Feb 19, 2021

Still having the problem when using WindowScroller in 9.22.3

Read more comments on GitHub >

github_iconTop Results From Across the Web

Warning: findDOMNode is deprecated in StrictMode ...
If you're using a Modal or Carousel from react-bootstrap a workaround is disabling the animations. Turning them off makes the warning disappear.
Read more >
React warning: findDOMNode is deprecated in StrictMode ...
This method is simple and you only need to do it once in a single place. Go to your ./src/index.js file and change...
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 >
How to solve Material UI error: findDOMNode is deprecated in ...
I use Material UI in my project, and this error is constantly displayed in the console. Warning: findDOMNode is deprecated in 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