The Wayback Machine - https://web.archive.org/web/20200715041317/https://github.com/topics/localstorage
Skip to content
#

localstorage

Here are 1,641 public repositories matching this topic...

Morriz
Morriz commented Apr 18, 2020

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?

dienluong
dienluong commented Nov 4, 2019

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

Globerada
Globerada commented Oct 31, 2018

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'
angular-async-local-storage
AFDevMike
AFDevMike commented Apr 9, 2019

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

dorje42
dorje42 commented Nov 13, 2019

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

Improve this page

Add a description, image, and links to the localstorage topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the localstorage topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.