It is impossible to store falsy values
NotWearingPants opened this issue · comments
It is impossible to store values such as false
or 0
using this plugin.
Change the ||
here to ??
, or use .hasOwnProperty
instead.
Reactive layer for interacting with localStorage from Vue. Plugin for Vue 2.
NotWearingPants opened this issue · comments
It is impossible to store values such as false
or 0
using this plugin.
Change the ||
here to ??
, or use .hasOwnProperty
instead.