title: React.memo is not a function in 16.13.0
body: <p><strong>TestComponent.js</strong></p>
  
  <pre><code>import React from "react";
  
  function TestComponent(props) {
    return &lt;div&gt;{props.id}&lt;/div&gt;;
  }
  
  function arePropsEqual(prevProps, nextProps) {
    return prevProps.id === nextProps.id;
  }
  
  export default React.memo(TestComponent)(arePropsEqual);
  </code></pre>
  
  <p>The above component is throwing the following error:
  <strong>TypeError: react__WEBPACK_IMPORTED_MODULE_0___default.a.memo(...) is not a function</strong><br /><br />
  I know this question has been asked a lot of time <a href="https://stackoverflow.com/questions/55689238/webpack-imported-module-4-react-default-a-memo-is-not-a-function">here</a>, <a href="https://forums.expo.io/t/react-default-memo-is-not-a-function/21623" rel="nofollow noreferrer">here</a> and <a href="https://github.com/reduxjs/react-redux/issues/1239" rel="nofollow noreferrer">here</a> but all of these questions have one thing in common, they all are using version below than <strong>16.6.0</strong> and obviously it won't work in the version below than this as <strong>React memo</strong> was released in this version.<br /><br />
  But I'm using <strong>16.13.0</strong> (screenshot attached) but still getting this error.<br /><br /><strong>Package.json</strong><br /><br />
  <a href="https://i.stack.imgur.com/1rlyo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1rlyo.png" alt="enter image description here"></a>
  <br /><br />
  <strong>Screenshot of error:</strong><br /><br />
  <a href="https://i.stack.imgur.com/DmsPq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DmsPq.png" alt="enter image description here"></a></p>