HMThere 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.Reply·Thread·Apr 8, 2018·1·How to persist state in ReactJS on refresh ?