title: Using goBack function from react-router-redux
body: <p>Having upgraded from es2015 to 2017th version ive got all my browserHistory.goBack stopped working. </p>
  
  <p>having tried almost anything found on the internet i still cant make it working. </p>
  
  <p>Code:</p>
  
  <pre><code>import { goBack } from 'react-router-redux'      
  
  let Popup = () =&gt; {
    &lt;a onClick={ goBack }&gt;&lt;/a&gt;
  }
  </code></pre>
  
  <p>exactly same thing used to work with browserHistory.goBack. goBack instead just does nothing.</p>
  
  <pre><code>  &lt;Provider store={store}&gt;
      &lt;Router history={browserHistory}&gt;
        &lt;MainLayout&gt;
          &lt;Route exact path="/" component={Home}  /&gt;
          &lt;Popup&gt;
              &lt;Route path="/login"    component={LoginContainer} /&gt;
          &lt;/Popup&gt;
        &lt;/MainLayout&gt;
      &lt;/Router&gt;
    &lt;/Provider&gt;
  </code></pre>
  
  <p>Popup has goBack button. To show login screen i use  link from Home screen.</p>
  
  <p>Used versions:</p>
  
  <blockquote>
  <pre><code>"react-redux": "^5.0.3",
  "react-router-dom": "^4.0.0",
  "react-router": "^4.0.0",
  "react-router-redux": "^4.0.8",
  </code></pre>
  </blockquote>
  
  <p>History creation:</p>
  
  <pre><code>const browserHistory = createHistory();
  const historyMiddleware = routerMiddleware(browserHistory);
  const middleware = [ thunk, historyMiddleware];
  const store = createStore(reducers, preloadedState, applyMiddleware(...middleware));
  </code></pre>
  
  <p>Respectively historyMiddleware is then added into store using applyMiddleware.</p>
  
  <p>What am i doing wrong?</p>