using react dom code example
Example 1: how to import react dom and react
npm install react react-dom
Example 2: ReactDOM.render()
ReactDOM.render(element, container[, callback])
npm install react react-dom
ReactDOM.render(element, container[, callback])