ReplyApr 8, 20181There are many libraries available to do the same. I recommend you to use react-persist easy to use. Maximum of 5 to 6 lines of code will save your state over refresh. Specifically if you don't like to use local storage like me.How to persist state in ReactJS on refresh ?