title: useEffect not running Windows 10 React
body: <p>Fresh install of <code>create-react-app</code> project on Windows 10, useEffect is not working.</p>
  <p>Injected the following code inside the App function to test:</p>
  <pre><code>useEffect(() =&gt; {
    console.log('effect');
  });
  </code></pre>
  <p>Upon starting the application, I cannot see any output in the terminal in which the command <code>npm start</code> was run where this was previously visible on a Linux machine.</p>
  <p>EDIT:</p>
  <p>Fresh create-react-app with <code>useEffect</code> added after creation:</p>
  <pre><code>import {useEffect} from 'react'
  
  import logo from './logo.svg';
  import './App.css';
  
  function App() {
  
    
    useEffect(() =&gt; {
      console.log('effect');
    });
    
    return (
      &lt;div className=&quot;App&quot;&gt;
        &lt;header className=&quot;App-header&quot;&gt;
          &lt;img src={logo} className=&quot;App-logo&quot; alt=&quot;logo&quot; /&gt;
          &lt;p&gt;
            Edit &lt;code&gt;src/App.js&lt;/code&gt; and save to reload.
          &lt;/p&gt;
          &lt;a
            className=&quot;App-link&quot;
            href=&quot;https://reactjs.org&quot;
            target=&quot;_blank&quot;
            rel=&quot;noopener noreferrer&quot;
          &gt;
            Learn React
          &lt;/a&gt;
        &lt;/header&gt;
      &lt;/div&gt;
    );
  }
  
  export default App;
  </code></pre>
  <p>Get the following output:</p>
  <pre><code>Compiled successfully!
  
  You can now view test in the browser.
  
    Local:            http://localhost:3000
    On Your Network:  http://10.0.30.15:3000
  
  Note that the development build is not optimized.
  To create a production build, use npm run build.
  
  assets by path static/ 1.49 MiB
    asset static/js/bundle.js 1.48 MiB [emitted] (name: main) 1 related asset
    asset static/js/node_modules_web-vitals_dist_web-vitals_js.chunk.js 6.87 KiB [emitted] 1 related asset
    asset static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg 2.57 KiB [emitted] (auxiliary name: main)
  asset index.html 1.67 KiB [emitted]
  asset asset-manifest.json 546 bytes [emitted]
  cached modules 1.36 MiB [cached] 105 modules
  runtime modules 31.3 KiB 15 modules
  ./node_modules/webpack-dev-server/client/index.js?protocol=ws%3A&amp;hostname=0.0.0.0&amp;port=3000&amp;pathname=%2Fws&amp;logging=none&amp;reconnect=10 6.59 KiB [built] [code generated]
  webpack 5.66.0 compiled successfully in 3028 ms
  </code></pre>