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