Rendering in React DOM

You have a requirement wherein you have to render a React element into a root DOM node.

What will you pass to the ReactDOM.render() method to do so?

  1. React Element
  2. Root DOM node
  3. Both React element and Root DOM node
  4. React element along with an empty text node

Related Posts

Close Bitnami banner