Snippets

Custom hook to store state in localStorage

Persist state in localStorage with a easy drop in replacement of useState hook.

Get Code