React-Navigation: Use/Change header title with Redux state : <p>Is it possible to access the whole Redux state inside the React Navigation's header title?</p>

<p>The <a href="https://reactnavigation.org/docs/intro/headers" rel="noreferrer">official docs</a> says that the state corresponding to the navigation is accessible:</p>

<pre><code>  static navigationOptions = {
    title: ({ state }) =&gt; `Chat with ${state.params.user}`
  };
</code></pre>

<p>But I wish to access other parts of my Redux state, with the title updating when that state updates. Is that possible today?</p>
