You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
Check that this is a concrete bug. For Q&A open a GitHub Discussion.
Yeah, currently initValue only applies when the stored value is undefined. I think we could introduce an option to deep merge the initialValue. PR welcome
Yeah, currently initValue only applies when the stored value is undefined. I think we could introduce an option to deep merge the initialValue. PR welcome
useStorage locates in @vueuse/core, so I think it's better to implement a lite deepmerge function internally instead of introducing lib likes deepmerge?
Describe the bug
if an object exists in localStorage with given key:
oops:
Reproduction
dev
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: