discu
Newsletters
Mentions
Extension
Pricing
Login
Sign Up
Hacker News
Persisting React State in LocalStorage
https://www.joshwcomeau.com/react/persisting-react-state-in-localstorage
64 comments
28/2/2020
Reddit
useLocalStorage() - React Hook that syncs state to localStorage so that it persists through a page refresh
https://codesandbox.io/s/qxkr4mplv6
4 comments
4/11/2018
reactjs