Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork68
Try to observe changes in local storage#273
-
I subscribe like this to the value in local storage, but if I change the value on a second tab and come back to the main-page, ,there is no console log, that says 'new value'. this.storage.get('survey_submitted').pipe( |
BetaWas this translation helpful?Give feedback.
All reactions
As stated in the README:
Note you'll only get one value: the Observable is here for asynchrony but is not meant to emit again when the stored data is changed. And it's normal: if app data change, it's the role of your app to keep track of it, not of this lib. See#16 for more context and#4 for an example.
Awatch() method has been added in v9 (see#108).
Replies: 2 comments
-
As stated in the README:
A |
BetaWas this translation helpful?Give feedback.
All reactions
-
Ok thank you |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #273 on December 08, 2020 21:21.