0.1.0 • Published 2 years ago

redux-persist-watermelon-storage v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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