Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add useSessionStorage hook to complement useLocalStorage #85

Closed
andymerskin opened this issue Jan 14, 2022 · 2 comments
Closed

Add useSessionStorage hook to complement useLocalStorage #85

andymerskin opened this issue Jan 14, 2022 · 2 comments

Comments

@andymerskin
Copy link

Hi there! Really impressed by this collection of hooks, nice work, and thanks for sharing!

I'd love to see a useSessionStorage hook alongside useLocalStorage and wanted to add a note here to add one. If I get time I may PR one, but no promises :)

I couldn't find any well-supported hooks that support local and session storage both, but your useLocalStorage hook seems like one of the more solid ones.

Thank you 🎉

@juliencrn
Copy link
Owner

Hi and thank you so much, Andy! 😀

Yes, I think it is a good idea! If you want to do it, feel free, else I will do it sooner 👍

@createdbymahmood
Copy link
Contributor

I'll take this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants