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