Mastering Pinia @masteringpinia.com ยท Jul 4

Did you know Pinia provides options for persisting store data across sessions? ๐Ÿ™†โ€โ™€๏ธ Persisting data allows you to save store state to local storage or other mechanisms and restore it on application refresh. This is useful for maintaining user preferences or application state between sessions.

2 likes 1 replies

?

Replies

Adamsen ยท Jul 5

There doesn't seem to be any mention of this feature in the documentation - it looks amazing, I've been home cooking this kind of feature with vueuse useLocalStorage for years now