null is not an object(evaluating this.state.count) : <p>I am facing the above mentioned error when i am trying to set a count for everytime the button is pressed. </p>

<pre><code>export default class ViewIdeas extends Component{
get InitialState(){
  return {
  count : 0
  }
}
render(){
    return(
   .......
 &lt;Button transparent&gt;
             &lt;Icon name='ios-thumbs-up-outline' style={{fontSize:21}} 
              onPress={() =&gt; this.setState({count: ++this.state.count})}/&gt;
              &lt;Text&gt;{'Like' + this.state.count}&lt;/Text&gt;
    &lt;/Button&gt;
</code></pre>
