WatermelonDB
PouchDB
Our great sponsors
WatermelonDB | PouchDB | |
---|---|---|
22 | 8 | |
9,955 | 16,231 | |
1.7% | 0.3% | |
8.6 | 9.2 | |
11 days ago | 8 days ago | |
JavaScript | JavaScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
WatermelonDB
-
Encrypted Note Editor App In React Native
Storing the notes: For storing the notes, we will use the amazing WatermelonDB package which is a popular sqlite wrapper for react-native. Instead of using the default package we will use a fork of this that uses sqlcipher instead of the regular sqlite, allowing us to encrypt the database by passing a secret key.
-
Is react-native-encrypted-storage a good place for storing base64 images securely?
As title says, is it a good option? There'll be like 60 webp images not some high quality. Or should I add some local db instead, something like: 1. https://github.com/ammarahm-ed/react-native-mmkv-storage 2. https://github.com/Nozbe/WatermelonDB
-
Starting React Native Project in 2023
Watermelon DB.
-
The Platformer #30: 22e82dfc
Significantly improved performance (a lot of optimizations were done, and state management is more scalable by relying on an actual database)
-
Which local db to use?
Watermelondb it gives you an ORM, reactivity (when a records changes it cause UI re-render), and easy syncing with remote server, go with that if you don't know SQL that well.
- React Native Database
-
WatermelonDB VS Dexie.js - a user suggested alternative
2 projects | 21 May 2022
-
Why does my RN app seem to speed up as I use it on iOS?
Why don't you use something like watermelon db if your main goal is to store data locally? I don't think trying to load massive array of data from a single key using any storage providers will be performant.
-
what database do you guys use ?
I think watermelon is they way to go https://github.com/Nozbe/WatermelonDB
-
backend.sql and frontend.js = ♥
We don't have offline capabilities yet - it's something we will investigate probably in the later half of this year.
In the meantime you can use something like WatermelonDb: https://nozbe.github.io/WatermelonDB/
PouchDB
-
Recommend an embedded database for use in Electron app
I have used pouchdb as an embedded db for electron - API and performance were not the best, but that was the price to pay for the requirements.
-
Learn PWA
I love PouchDB, it's incredible, however I fear its a project that is loosing it momentum (I do think it has pick up a little over the last year though).
It has a very aggressive stale bot closing issues (this search shows 700 closed stale issues https://github.com/pouchdb/pouchdb/issues?q=is%3Aissue+stale...), some which I really don't think it should have. It gives the impression of a very active but stable platform that I don't necessarily think is accurate.
For example I found a hash collision bug while working on a side project, the issue was closed as stale (https://github.com/pouchdb/pouchdb/issues/8257)
-
A performant way to use PouchDB@7 on React Native in 2022
Fortunately, PouchDB is still maintained, and recently they've shipped v7.3.0 🎉. Much appreciated the community effort.
- An observable Database for the Web
-
PouchDB.find is not a function
Thankfully the community helped me figure this out. You can read about detail on the issue here at github .
-
[AskJS] Suggestions on good open source projects to help
Maybe PouchDB.
What are some alternatives?
Dexie.js - A Minimalistic Wrapper for IndexedDB
RxDB - A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
localForage - 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
react-native-mmkv-storage - An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
LokiJS - javascript embeddable / in-memory database
sql.js - A javascript library to run SQLite on the web.
react-native-encrypted-storage - React Native wrapper around EncryptedSharedPreferences and Keychain to provide a secure alternative to Async Storage.