title: React native Redux - object is not a constructor (evaluating 'new ctor(props context)')
body: <p>This is a very simple page that is trying to use Redux....see code below.</p>
  
  <p>However Im getting the error <code>object is not a constructor (evaluating 'new ctor(props context)')</code></p>
  
  <pre><code>import React, {Component} from 'react';
  import {Text, View} from 'react-native';
  import {connect} from 'react-redux';
  
  const mapStateToProps = state =&gt; ({
    userId: state.auth.userId,
  });
  
  class Message extends Component {
    render() {
      return (
        &lt;View&gt;
          &lt;Text&gt;Text here&lt;/Text&gt;
        &lt;/View&gt;
      );
    }
  }
  
  export default connect(
    mapStateToProps,
    null,
  )(Message);
  </code></pre>