localstorage
Here are 1,641 public repositories matching this topic...
Your documentation shows no way to replace an objects value. Any updates to an object with:
db.get(name).find(selectors).assign(data).write()
merges the data with the existing object...not what I'd expect.
How can we replace a record without merging? Can you update your docs?
plugins: [
createPersistedState({
storage: {
getItem: key => Cookies.get(key),
// Please see https://github.com/js-cookie/js-cookie#json, on how to handle JSON.
setItem: (key, value) =>
Cookies.set(key, value, { expires: 300000, secure: true }),
removeItem: key => Cookies.remove(key)
}
})
],
-
Updated
May 3, 2020 - JavaScript
-
Updated
Jun 18, 2020 - JavaScript
-
Updated
May 11, 2019 - JavaScript
Hello,
First, thank you for the project!
rs.js is advertised as "offline-first by design". But how can an app be offline-first when local data is not kept?
To give a simple example: let's say we have a notes taking app. When not connected to a remote storage, the user can still create, delete and update notes. Once connected to online storage, the new or modified notes get sync'd with
-
Updated
Jun 7, 2020 - JavaScript
-
Updated
Jun 18, 2020 - JavaScript
-
Updated
May 14, 2020 - JavaScript
-
Updated
May 12, 2018 - JavaScript
-
Updated
May 16, 2020 - TypeScript
-
Updated
Apr 29, 2020 - JavaScript
-
Updated
Jul 14, 2020 - JavaScript
-
Updated
Mar 14, 2015 - JavaScript
Hi. Thanks for the plugin. I am going to use it with nuxt (only on client side, of course).
Just to let you know that the README is a bit incomplete. First of all, lacks of examples. Secondly, you forgot to mention that in order to bind to work, you must specify into the options:
localStorage: {
someObject: {
type: Object,
default: {
hello: 'world'Roadmap to 1.0
-
Updated
Jul 15, 2019 - Vue
-
Updated
Nov 13, 2019 - JavaScript
Is there support for multiple Dbs per app?
Following: https://github.com/cyrilletuzi/angular-async-local-storage/blob/master/docs/PREFIX.md I created 2 modules each providing a different prefix in the same app but the data does not store segregated as I expected.
We are on TS 3.2+ and so can't update to Version 7 and am looking for a mechanism to delete .clear() groups of related entitie
-
Updated
May 31, 2020 - JavaScript
-
Updated
Apr 5, 2020 - JavaScript
-
Updated
Apr 17, 2020 - JavaScript
Versions (please complete the following information):
- NgxWebstorage: [e.g. 3.0.x]
- Angular: 9.0.0-rc.1
Describe the bug
I use Angular 9.0.0-rc.1 and get this warning, if I install ngx-webstorage:
`npm WARN [email protected] requires a peer of @angular/common@^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a
-
Updated
Mar 24, 2020 - JavaScript
Chrome Version 49.0.2623.87 (64-bit) shows following error:
Failed to parse SourceMap: http://.../bower_components/angular-locker/dist/angular-locker.min.js.map
I think it's due to this line:
/*! angular-locker v2.0.4 | (c) 2016 @tymondesigns | https://github.com/tymondesigns/angular-locker */
-
Updated
Jul 1, 2020 - TypeScript
-
Updated
Jul 11, 2020 - C#
Improve this page
Add a description, image, and links to the localstorage topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the localstorage topic, visit your repo's landing page and select "manage topics."


Edit by @tofumatt: to clarify, this restriction only applies to Safari and its Intelligent Tracking Prevention. Safari sites will be affected by this change, but apps using their own wrapped web views (eg webview apps, Ionic apps, etc.) will not be affected.
Apple announced changes to the script writeable storages on iOS 13.4 and Safari 13.1:
https://webkit.org/blog/10218/full-third