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