Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tradle/react-native-async-storage-snappy
https://github.com/tradle/react-native-async-storage-snappy
android asyncstorage backend react react-native react-native-component snappy snappydb storage storage-backend
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tradle/react-native-async-storage-snappy
- Owner: tradle
- Created: 2017-01-18T17:14:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-16T00:17:55.000Z (about 6 years ago)
- Last Synced: 2024-09-18T05:32:05.399Z (4 months ago)
- Topics: android, asyncstorage, backend, react, react-native, react-native-component, snappy, snappydb, storage, storage-backend
- Language: Java
- Size: 11.7 KB
- Stars: 8
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SnappyDB-based backend for AsyncStorage
Android only for now
## Install
```
yarn add react-native-async-storage-snappy
```## Link in the native dependency
```
react-native link react-native-async-storage-snappy
```## Usage
AsyncStorage currently doesn't provide a way of swapping out the backend implementation, so for now you can fork react-native and cherry-pick the commit from this [PR](https://github.com/facebook/react-native/pull/11972)
When it's merged, you will instead be able to do `AsyncStorage.setBackend(AsyncSnappyStorage)`
## Contributing
PRs welcome!