ReactDOM: findDOMNode()

findDOMNode()

ReactDOM.findDOMNode(component)
  • If this component has been mounted into the DOM, this returns the corresponding native browser DOM element.
  • This method is useful for reading values out of the DOM, such as form field values and performing DOM measurements.
  • FindDOMNode only works on mounted components (that is, components that have been placed in the DOM).

Related concepts

ReactDOM: findDOMNode() — Structure map

Clickable & Draggable!

ReactDOM: findDOMNode() — Related pages: