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
* fix(useLocalStorage): Changed useLocalStorage and useSessionStorage so that it works according to the documentation. Removed setSync from useSessionStorage as it is unusable. Removed a bug of saving value into storage, just after it was read from it. Added useDebounce parameter so that storage is updated instantly (it's usefull for example when saving accessToken in localStorage and reading from it rather than from ref). Fixed a bug of giving the ref as a defaultValue and saving the ref into a storage, rather than the value of a ref
* feat(interfaceAndComments): Added/updated interfaces and cmments for local and session storage
* fix(localStoarage): fixed tests
* fix(webStorage): fixed vue 2 build
* fix(webStorage): testing piepeline
* fix(webStorage): testing piepeline
Co-authored-by: Carlos Rodrigues <[email protected]>
| `remove()` | Removes key from the SessionStorage, equivalent as `storage.value=undefined` |
47
-
| `clear()` | Clears all used SessionStorage used so far |
48
-
| `setSync(boolean)` | Does nothing, since the session is only available on the tab, this is here to allow the same API as `useLocalStorage`. Returns `false` |
0 commit comments