Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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!