React router 4 history.listen never fires : <p>Switched to router v4 and history v4.5.1 and now history listener not working</p>

<pre><code>import createBrowserHistory from 'history/createBrowserHistory'
const history = createBrowserHistory()

history.listen((location, action) =&gt; {
  console.log(action, location.pathname, location.state)  //  &lt;=== Never happens
})

render(
  &lt;Provider store={store}&gt;
    &lt;Router history={history}&gt;
      ...
    &lt;/Router&gt;
  &lt;/Provider&gt;,
  document.getElementById('root')
)
</code></pre>

<p>Any ideas why it is being ignored?</p>
