title: React Suspense Concurrent Mode Not Working
body: <p>I am trying to use react suspense but I am facing some issue regarding rendering after making changes in react index.js file and I already installed react suspense &quot;npm install react@experimental react-dom@experimental&quot;</p>
  <p><strong>My index.js file</strong></p>
  <pre><code>import React from &quot;react&quot;;
  import ReactDOM from &quot;react-dom&quot;;
  import App from &quot;./App&quot;;
  
  ReactDOM.createRoot(document.getElementById(&quot;root&quot;)).render(&lt;App /&gt;);
  </code></pre>
  <p><a href="https://i.stack.imgur.com/DpqjM.png" rel="nofollow noreferrer">Index.js file</a></p>
  <p><strong>Error</strong></p>
  <pre><code>TypeError: react_dom__WEBPACK_IMPORTED_MODULE_1___default.a.createRoot is not a function
  </code></pre>
  <p><a href="https://i.stack.imgur.com/AHudQ.png" rel="nofollow noreferrer">Error Image</a></p>