title: When passing state through navigation my this.props.navigation.state is undefined?
body: <p>When I try to pass parameters through my navigation. I can't seem to acces them. They keep on beeing undefined when I try to use them.</p>
  
  <p>This is how I pass them:</p>
  
  <pre><code>this.props.navigation.navigate('gamescreen',{gameDTO:message.body})
  </code></pre>
  
  <p>This is how I try to use them:</p>
  
  <pre><code>renderChat() {
      console.log(this.props.navigation.state.params.gameDTO.gameId)
      return &lt;Chat token={this.state.token} id={this.props.navigation.state.params.gameDTO.gameId}
                           name={this.state.username}/&gt;
  }
  </code></pre>
  
  <p>It keeps giving me TypeError: undefined is not an object (evaluating 'this.props.navigation.state') when I acces it.</p>
  
  <p>However in my console.log, it is not undefined and just shows the right String.
  Any ideas what I am doing wrong? I'm fairly new to React Native.</p>