title: Deprecation notice: ReactDOM.render is no longer supported in React 18
body: <p>I get this error every time I create a new React app:</p>
  <blockquote>
  <p>Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: <a href="https://reactjs.org/link/switch-to-createroot" rel="noreferrer">https://reactjs.org/link/switch-to-createroot</a></p>
  </blockquote>
  <p>How can I fix it?</p>
  <p>I created my React app using:</p>
  <pre class="lang-none prettyprint-override"><code>npx create-react-app my-app
  </code></pre>