react dom docs code example
Example 1: react dom
import ReactDOM from 'react-dom';
Example 2: ReactDOM.render()
ReactDOM.render(element, container[, callback])
import ReactDOM from 'react-dom';
ReactDOM.render(element, container[, callback])