title: How to fix: 'e is not a function' error in react-redux
body: <p>I'm trying to make a simple login form in <strong>react-native</strong> using <strong>redux</strong> in the <strong>expo</strong>. <br/>
  I followed some tutorial and redux docs they all do it in this way but I face this error every time:<br/> 
  <strong>e is not a function</strong> <br/>
  TypeError: e is not a function <br/></p>
  
  <p>snack link: <a href="https://snack.expo.io/@housein/reduxtest" rel="nofollow noreferrer">https://snack.expo.io/@housein/reduxtest</a> <br/></p>
  
  <p>code:</p>
  
  <p>'App.js':</p>
  
  <pre><code>import React, {Component} from 'react';
  import { Text, View, StyleSheet } from 'react-native';
  import {createStore} from 'redux';
  import {Provider} from 'react-redux';
  import reducers from './reducers';
  import LoginForm from './components/LoginForm';
  
  class App extends Component {
    render () {
      const store = createStore(reducers);
      return(
        &lt;Provider store={store}&gt;
          &lt;View&gt;
            &lt;LoginForm /&gt;
          &lt;/View&gt;
        &lt;/Provider&gt;
      );
    }
  }
  
  export default App;
  </code></pre>
  
  <p>'components/LoginForm.js':</p>
  
  <pre><code>import React, { Component } from 'react';
  import { View, TextInput, Text } from 'react-native';
  import actions from '../actions';
  import { connect } from 'react-redux';
  
  class LoginForm extends Component {
    onEmailChange(text) {
      return this.props.emailChanged(text);
    }
  
    render() {
      return (
        &lt;View &gt;
          &lt;Text &gt;Email:&lt;/Text&gt;
          &lt;TextInput
            onChangeText={this.onEmailChange.bind(this)}
            value={this.props.e}
          /&gt;
        &lt;/View&gt;
      );
    }
  }
  
  const mapStateToProps = state =&gt; {
    return {e : state.auth.email};
  }
  
  export default connect(mapStateToProps, actions)(LoginForm);
  </code></pre>
  
  <p>'actions/index.js':</p>
  
  <pre><code>export const emailChanged = (text) =&gt; {
    return {
      type: 'EMAIL_CHANGED',
      payload: text
    };
  };
  </code></pre>
  
  <p>'reducers/index.js':</p>
  
  <pre><code>import {combineReducers} from 'redux';
  import AuthReducer from './AuthReducer';
  
  export default combineReducers({
    auth : AuthReducer
  });
  </code></pre>
  
  <p>'reducers/AuthReducer.js':</p>
  
  <pre><code>const INIT_STATE = {email : ''}
  
  export default (state=INIT_STATE, action) =&gt; {
    switch (action.type) {
      case 'EMAIL_CHANGED' : 
        return {...state, email  : action.payload};
      default : 
        return state;
    }
  }
  </code></pre>