Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 417 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 417 Bytes

useLocalStorageState

Creating a custom hook in React to store state in local storage, synchronize it across browser tabs, and have its value retrieved on page refresh. We will be looking at a form input as well as how you could use this technique to create a persistent Dark Mode on your website.