0.6.5 • Published 8 years ago
rweng.store.pouchdb v0.6.5
#Install
npm install --save rweng.store.pouchdb
Q&A
Why separate backends and not Pouchdb Adapters
- PouchDB API is Promise based, which means even
Promise.resolve
is async in by default. - Prefered Observable API, cancelable & lazy
- easier in-memory and other implementations compared to PouchDB plugins
Why and When Promises vs Observables
- Promises for methods, since
- the method is an action to be taken and thus should be hot replay, which Promises are by default.
Otherwise the method name had to be
createPut$()
- Better TS support through
async/await
- the method is an action to be taken and thus should be hot replay, which Promises are by default.
Otherwise the method name had to be
- Observables for properties like
changes$
,state$
, ...
0.6.5
8 years ago
0.6.4
8 years ago
0.6.3
8 years ago
0.6.2
8 years ago
0.6.1
8 years ago
0.6.0
8 years ago
0.5.7
8 years ago
0.5.6
8 years ago
0.5.5
8 years ago
0.5.4
8 years ago
0.5.3
8 years ago
0.5.2
8 years ago
0.5.1
8 years ago
0.5.0
8 years ago
0.4.0
8 years ago
0.3.2
8 years ago
0.3.1
8 years ago
0.3.0
8 years ago
0.2.1
8 years ago
0.2.0
8 years ago
0.1.0
8 years ago
0.0.1
8 years ago