Comments (10)
Indexedb observers are now working behind a flag in Canary
from localforage-observable.
That's great. I'm thinking about an initial release using localstorage to propagate cross tab events. After IndexedDB events gets implemented without a flag from one more browser engine, we can plan upgrading the architecture.
from localforage-observable.
Thanks a lot for working on this!
from localforage-observable.
Awesome! If you have any time to take a look at the current API (see sample here:
https://googlechrome.github.io/samples/indexeddb-observers/) any feedback would be greatly appreciated.
from localforage-observable.
Just opened PR #6. It would be great to receive some feedback and then release during the weekend.
from localforage-observable.
Just meged #6 and released v1.1.0 which includes cross-tab observation.
from localforage-observable.
Thanks a lot. Going to implement this now
from localforage-observable.
Hi! Is this feature supported in all browsers? It would be useful to have a note in the README about current browser support.
Also, are there any plans to merge this feature into the main repo?
Edit: I'm only interested in support for IndexedDB, not localStorage.
from localforage-observable.
@deiu This is based on localStorage events, so it should work wherever localStorage is supported.
My main concern would be private browsing, which essentially beats the purpose, since the user by definition requests for an isolated tab, so this should be a non-issue.
from localforage-observable.
Thanks for the quick reply! I see. I knew the eventListener for localStorage is available but for some reason I'm thinking by default of IndexedDB when using localForage. After reading the thread again, I see you mentioned waiting for native IndexedDB support in browsers.
from localforage-observable.
Related Issues (17)
- Implement a getItemObservable method
- Error Building on Ionic 2 HOT 3
- clear() doesn't trigger event HOT 6
- Support for localforage instances HOT 1
- ReferenceError: Observable is not defined HOT 2
- I'm interested in what this adds to localForage's promise based api? HOT 1
- ReferenceError: Observable is not defined HOT 2
- IE 11 toString - Invalid calling object HOT 4
- [Feature Request] Provide a way to customize cross tab observer implementation
- [Question] Observe this same store from different instances
- How to install / what's the npm package name?
- How to merge multiple observables in to one? HOT 7
- localforage.setItem in a promise won't fire Observable with rxjs HOT 14
- Use LocalForage-observable in an es6/typescript environment HOT 19
- Fix import window from 'window' error HOT 1
- Add proper Typings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from localforage-observable.