How do you render an element into the dom? — you pass both element and root DOM node to ReactDom.render()
ReactDOM.render(element, document.getElementById('root'))
We use cookies to understand our websites traffic and offer our website visitors personalized experience. To find out more, click ‘More Information’. In addition, please, read our
Privacy policy.