title: How to achieve state persistence even after a reload in Ngrx
body: <p>I have a shopping cart which I am maintaining with Ngrx and for maintaining the persistence of the state after a page refresh I have two options: </p>
  
  <ol>
  <li>Stringify the state and store it in local storage and get it back after the reload. </li>
  <li>Stringify the state and store it inside a text file and then get the string out of the file and use JSON.parse to convert the string back to a JSON object.</li>
  </ol>
  
  <p>I am storing some price related data so didn't want to store in local storage.</p>
  
  <p>What should I use? Or is there any better way to do this?</p>