title: React state disappears when I refresh the page
body: <p>If i reload the page my user data is lost from state, how can i handle this</p>
  <p>before reload</p>
  <p><a href="https://i.stack.imgur.com/FS7Dn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FS7Dn.png" alt="enter image description here" /></a></p>
  <p>after reload</p>
  <p><a href="https://i.stack.imgur.com/EUEtM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EUEtM.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/yOYst.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yOYst.png" alt="enter image description here" /></a></p>