Replaces ReactDOM.render when the .render method is called and enables Concurrent Mode.
ReactDOM.render
.render
Same as createRoot(), but is used to hydrate a container whose HTML contents were rendered by ReactDOMServer.
createRoot()