title: Uncaught Error: Minified React error #321 after deployment react js
body: <p>I'm trying to deployed a simple web app with react js.</p>
  <p>My server is working fine and all my app is working fine on a dev mode.</p>
  <p>But when i make a build , i put my build folder on my public folder , my web app appeared 1sec then i have white screen . When i opened my consol i have this error</p>
  <p>Uncaught Error: Minified React error #321; visit <a href="https://reactjs.org/docs/error-decoder.html?invariant=321" rel="nofollow noreferrer">https://reactjs.org/docs/error-decoder.html?invariant=321</a> for the full message or use the non-minified dev environment for full errors and additional helpful warnings.</p>
  <p>When i delete my static folder from my public folder i have the web app ok on my dev environnement. So i think the problem is comming from the static folder but i don't know what :(</p>
  <p>Evrytime the error bring me to this part</p>
  <pre><code>import React from &quot;react&quot;;
  import ReactDOM from &quot;react-dom&quot;;
  import &quot;./index.css&quot;;
  import App from &quot;./App&quot;;
  
  ReactDOM.render(
    &lt;React.StrictMode&gt;
      &lt;App /&gt;
    &lt;/React.StrictMode&gt;,
    document.getElementById(&quot;root&quot;)
  );
  
  
  </code></pre>
  <p>react 17.0.2
  React dom 17.0.2</p>