Closed JanStevens closed 8 months ago
Hi,
Very cool neat little hook, would you consider adding support for sessionStorage? I think the API is interchangeable between localStorage and sessionStorage and 99% of the code could be reused.
Thanks
Hi! Thanks for the kind words. You can use https://github.com/astoilkov/use-session-storage-state. I maintain that as well.
Hi,
Very cool neat little hook, would you consider adding support for sessionStorage? I think the API is interchangeable between localStorage and sessionStorage and 99% of the code could be reused.
Thanks