Open masakudamatsu opened 3 years ago
See how it should be done at https://epicreact.dev/modules/react-hooks/useeffect-persistent-state-solution
Use JSON.stringify() to convert non-string state values into string values that are storable in localStorage.
See how it should be done at https://epicreact.dev/modules/react-hooks/useeffect-persistent-state-solution
Use JSON.stringify() to convert non-string state values into string values that are storable in localStorage.