Skip to content

Idea - strongly typed local storage service #11

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

Closed
geometricpanda opened this issue Mar 4, 2023 · 0 comments · Fixed by #20 · May be fixed by #6
Closed

Idea - strongly typed local storage service #11

geometricpanda opened this issue Mar 4, 2023 · 0 comments · Fixed by #20 · May be fixed by #6
Assignees
Labels
enhancement New feature or request

Comments

@geometricpanda
Copy link
Collaborator

The issue we have with localstorage is that we have to json parse it, which always returns the type of any instead of unknown! We can wrap some logic arround it to always catch the correct errors but we can throw this in a nice service i recon to create a more typesafe localstorage interactions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant