title: React.default.memo is not a function (React-Native) wrapWithConnect
body: <p>I get this the error </p>
  
  <blockquote>
    <p>_react.default.memo is not a function </p>
  </blockquote>
  
  <p>and <code>wrapWithConnect</code>.<br>
  This is a <code>react-native</code> project and it worked fine before I used the connect function to connect my dispatch into my react component: </p>
  
  <p>Package Versions:</p>
  
  <pre><code>    "react": "16.5.0",
      "react-redux": "^6.0.1",
      "redux": "^4.0.1",
      "redux-logger": "^3.0.6",
      "redux-thunk": "^2.3.0",
  </code></pre>
  
  <p>code</p>
  
  <pre><code>const mapDispatchToProps = dispatch =&gt; {
   return { 
    sendEmail: (email, navigateMap) =&gt; dispatch(sendEmail, navigateMap))
  
  export default connect(null, mapDispatchToProps)(Login)
  </code></pre>