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
Thanks for this super tiny package that elegantly handles the localStorage 🙂
I can see that Lockr is not designed to retrieve data that are not set by itself. Can we make it to retreive the data that are not set by Lockr with the help of options argument ?
Hello gokatz,
Sorry for the late reply. I would like to see some specs on this behavior in order to define it more accurately.
I prefer not to overcomplicate things if it's not absolutely necessary.
Agreed. This will be really helpful if the application set localStorage things without Lockr (Maybe manually keying in values directly into Application tab of browser) but fetching via Locker in Application code (for consistency). I understand this use case is weird 😁
But I'm doing this in my app (a developer tool kinda thing) 😄
Thanks for this super tiny package that elegantly handles the localStorage 🙂
I can see that
Lockr
is not designed to retrieve data that are not set by itself. Can we make it to retreive the data that are not set byLockr
with the help of options argument ?like,
or if the fetched value from storage is not abiding the structure (
.data
), then we can return the actual fetched value itself like thisThe text was updated successfully, but these errors were encountered: