blog react code example Example: react 17 install const rootNode = document.getElementById('root'); ReactDOM.render(<App />, rootNode);