title: ngrx-router-store with previous route
body: <p>I'm in a situation where I want to provide a proper navigation in my app using back buttons displayed on the screen, and not only the browser back button.</p>
  
  <p>Now I'm using ngrx in general in my app. I've checked what kind of solution they might have provided for tracking the router, and of course they do provide one solution, the <a href="https://ngrx.io/guide/router-store" rel="noreferrer">router-store</a>.</p>
  
  <p>However, it looks like router-store only provides info about the current route and not the previous one.</p>
  
  <p>So after a lot of searching I couldn't find any possible solution for this and I decided to implement my own router tracking state. It worked, but now I cannot use <code>routerLink</code> directive because it will not dispatch my action. And the whole state would be lost if the user entered a link directly in the URL! So it is not really the best solution.</p>
  
  <p>Can I extend the router-store in some way to store the previous route data? Or can I use my own reducer to listen to router-store actions like <code>ROUTER_REQUEST</code> and <code>ROUTER_NAVIGATED</code>?</p>