React

ReactJS Practical Questions - Correct way to rende...

15.

What is the correct way to render JSX in React?

ReactDOM.render(JSX, document.getElementById(root))

<React.render(JSX, document.rootNode) />

ReactDOM.render(JSX, document.getElementById('app'))

<ReactDom(JSX, document.getElementById('root')) />