title: ReactJS how to persist state in cookies
body: <p>Below is sample example for counter but i have to maintain the state after page is refree.For example i will increment the counter to 10 and next time when my page refreshes the page should start with 10 instead of 1.
  Can anyhow guide me regarding this.</p>