redux-persist-watermelon-storage
v0.1.0
Published
test
Downloads
4
Readme
redux-persist-watermelon-storage
Watermelon storage for redux persist
Installation
Make you sure you also install WatermelonDB into your project.
Npm
npm install redux-persist-watermelon-storage
Yarn
yarn add redux-persist-watermelon-storage
Usage
import { persistReducer } from 'redux-persist';
import { createWatermelonStorage } from 'redux-persist-watermelon-storage';
const persistConfig = {
key: 'root',
storage: createWatermelonStorage()
};
const persistedReducer = persistReducer(persistConfig, rootReducer);
License
MIT
Made with create-react-native-library