(React Native) Null is not an object
<p>This is the portion of the code React Native is having trouble rendering: </p>

<pre><code>You input {this.state.zip}.
</code></pre>

<p>Im a beginner and I was following a tutorial in "Learning React Native" yet he code in the book is not working.  </p>

<pre><code>import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  TextInput,
  Image,
  View
} from 'react-native';

class WeatherProject extends Component {
  // If you want to have a default zip code, you could add one here
  getInitialState() {
    return ({
      zip: ''
    });
  }
  // We'll pass this callback to the &lt;TextInput&gt;
  _handleTextChange(event) {
    // log statements are viewable in Xcode,
    // or the Chrome debug tools
    console.log(event.nativeEvent.text);

    this.setState({
      zip: event.nativeEvent.text
    });
  }
  render() {
    return (
      &lt;View style={styles.container}&gt;
        &lt;Text style={styles.welcome}&gt;
          You input {this.state.zip}.
        &lt;/Text&gt;
        &lt;TextInput
          style={styles.input}
          onSubmitEditing={this._handleTextChange}/&gt;
      &lt;/View&gt;
    );
  }
}

var styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#F5FCFF',
  },
  welcome: {
    fontSize: 20,
    borderWidth: 2,
    height: 40
  }
});

AppRegistry.registerComponent('WeatherProject', () =&gt; WeatherProject);
[enter image description here][1]
</code></pre>