Dec 14, 2017

ReactDOM does not render a React component or a React element in the DOM.

 ReactDOM renders DOM elements backed by instances of their components. This is true for class components. For function components, ReactDOM renders just DOM elements. Function components don’t have instances (that can be accessed with this) so when using a function component, ReactDOM renders a DOM element generated from the function’s returned element.