title: Persist data while switching from one tab to another in reactJs
body: <p>I am using React router for making tabs.</p>
  
  <p>I am stuck to solve one scenario, scenario is something like, say we have two tabs <strong>TabX</strong> and <strong>TabY</strong>. In TabX, I have made a form which takes some data as input. I have made a button <code>Next</code>. on click of that <strong>button</strong> I am sending parameters to another <strong>TabY</strong> using <code>history.push</code>. </p>
  
  <p>Now, when I switch back to <strong>TabX</strong>, I will lose all my data filled earlier.</p>
  
  <p>I am not able to find out way so that if I switch back to another tab, data will not be lost.
  One more thing, I don't want to use redux. </p>