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?
Options
- React Element
- Root DOM node
- Both React element and Root DOM node
- React element along with an empty text node