Top 4 TypeScript Pouchdb Projects
-
I’m doing offline-first apps at work and want to emphasize that you’re constraining yourself a lot trying to do this.
As mentioned, everything fast(ish) is using SQLite under the hood. If you don’t already know, SQLite has a limited set of types, and some funky defaults. How are you going to take this loosey-goosey typed data and store it in a backend database when you sync? What about foreign key constraints, etc., can you live without those? Some of the sync solutions don’t support enforcing them on the client.
Also, the SQLite query planner isn’t great in my experience, even when you’re only joining on ids/indexes.
Document databases seem more friendly/natural, but as mentioned indexeddb is slow.
I wish this looked at https://rxdb.info/ more. They have some posts that lead me to believe they have a good grasp on the issues in this space at least
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
client-side-databases
An implementation of the exact same app in Firestore, AWS Datastore, PouchDB, RxDB and WatermelonDB
-
-
TypeScript Pouchdb discussion
TypeScript Pouchdb related posts
Index
What are some of the best open-source Pouchdb projects in TypeScript? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | RxDB | 23,231 |
| 2 | client-side-databases | 895 |
| 3 | react-native-sqlite-2 | 384 |
| 4 | pouchdb-adapter-react-native-sqlite | 162 |