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.

Support findDOMNode

See original GitHub issue

I have a use case where my components are given HTMLElements and I have to append them to the component. My usage is blocked because of this

See it on React Docs

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

9reactions
developitcommented, Mar 13, 2016

Hi - Component#getDOMNode() and .findDOMNode() are both supported in preact-compat. Preact simply exposes your DOM Node as this.base within any component.

3reactions
steelbraincommented, Mar 13, 2016

Beautiful, Thank you for your awesome project 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

findDOMNode - React Docs
findDOMNode finds the browser DOM node for a React class component instance. const domNode = findDOMNode(componentInstance).
Read more >
Getting rid of findDOMNode in your React application - Medium
How to remove all your ReactDOM.findDOMNode usages since its already deprecated in Strict Mode.
Read more >
Warning: findDOMNode is deprecated in StrictMode ...
The findDOMNode error looks like it's happening inside a library, it's not in your code. That is not a relevant warning for your...
Read more >
React warning: findDOMNode is deprecated in StrictMode ...
React used to support findDOMNode to search the tree for a DOM node given a class instance. Normally you don't need this because...
Read more >
How to use the slate-react.findDOMNode function in ... - Snyk
To help you get started, we've selected a few slate-react.findDOMNode examples, based on popular ways it is used in public projects.
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