Replies: 1 comment 1 reply
-
|
Do not use that package, it uses AsyncStorage, which's insane since it has no indexes. So, everytime you get, find, query, or whatever, it loads all documents into memory. Use this one instead: https://github.com/craftzdog/pouchdb-react-native |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Installation
My App crashes on adding pouchDB code after installation
Info
Reproduce
dependecies
"pouchdb-react-native": "^6.4.1",
"expo": "~44.0.0",
"react-native": "0.64.3"
code
Crash logs
./node_modules/pouchdb-adapter-asyncstorage/src/databases.js:32
"export 'default' (imported as 'AsyncStorageCore') was not found in './asyncstorage_core'
30 | }
31 |
Beta Was this translation helpful? Give feedback.
All reactions