react-native-redux-persist
v1.0.3
Published
Simple, lightweight persist component for react-native.
Downloads
30
Readme
react-native-redux-persist
Simple, lightweight persist component for react-native.
Installation
Without persist:
import {createStore} from 'redux'
import reducer from './reducer';
const store = createStore(reducer);
export default store;
With persist:
import {createStore} from 'redux'
import reducer from './reducer';
const store = createStore(reducer);
export const persist = persistStore(store, reducer);
export default store;