title: Next.js - _app.js state is lost on page refresh / SSR
body: <p>Not sure if this is a feature or a side-effect of rendering server side but any state stored in the exposed _app.js page is lost whenever I either refresh page or visit page directly from url input.
  Next.js proclaim the _app.js page is for "Keeping state when navigating pages", so this should work.</p>
  
  <p>All state is kept when routing client side with the <code>&lt;Link&gt;</code> component.</p>
  
  <p>I'm trying to store non-sensitive data without using cookie/session/local storage.</p>
  
  <p>Can anyone validate if this is the best approach or should I just be using one of these techniques?</p>
  
  <p>Happy to post code if necessary. </p>