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

refactor: persist store to localstorage #70

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Dec 26, 2023

What

Thanks to pinia-plugin-persistedstate we can easily persist the new pinia store - #69 - to the user's localStorage

Info

Could have also be done with https://vueuse.org/core/useLocalStorage/

@raphodn raphodn self-assigned this Dec 26, 2023
Base automatically changed from raphodn/store-pinia to master December 26, 2023 00:30
@raphodn raphodn merged commit 9b44534 into master Dec 26, 2023
@raphodn raphodn deleted the raphodn/store-pinia-persist branch December 26, 2023 00:31
@raphodn raphodn linked an issue Dec 26, 2023 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Add a store for state management: pinia
1 participant