title: Error using React.memo() over stateless component
body: <p>Using react 16.6 I am trying to use memo with stateless component but I get an error.</p>
  
  <p><strong>Error</strong></p>
  
  <p><em>react-dom.development.js:57 Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.</em></p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>const MyComponent = () =&gt; (
    &lt;React.Fragment&gt;
      TEST
    &lt;/React.Fragment&gt;
  );
  
  export default React.memo(MyComponent);
  </code></pre>