title: Storing values in sessionStorage in ReactJs
body: <p>I have stored all the values in state called data as below:</p>
  
  <pre><code>loadValues = () =&gt; {
      this.setState({
        data: [`{"Price:" "${this.state.price}","Title": "${this.state.title}","MenuId": "${this.state.code}","Quantity": "${this.state.counter}"}`],
      })
    }
  </code></pre>
  
  <p>Now i need help in storing these values in sessionStorage and print it in console.(reactJs). Thanks in advance.</p>