File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,18 @@ Persist and rehydrate a redux store.
5
5
[ ![ build status] ( https://img.shields.io/travis/rt2zz/redux-persist/master.svg?style=flat-square )] ( https://travis-ci.org/rt2zz/redux-persist ) [ ![ npm version] ( https://img.shields.io/npm/v/redux-persist.svg?style=flat-square )] ( https://www.npmjs.com/package/redux-persist ) [ ![ npm downloads] ( https://img.shields.io/npm/dm/redux-persist.svg?style=flat-square )] ( https://www.npmjs.com/package/redux-persist )
6
6
[ ![ #redux-persist on Discord] ( https://img.shields.io/discord/102860784329052160.svg )] ( https://discord.gg/ExrEvmv )
7
7
8
+ ## v6 upgrade
9
+ ** Web** : no breaking changes
10
+ ** React Native** : Users must now explicitly pass their storage engine in. e.g.
11
+ ``` js
12
+ import AsyncStorage from ' @react-native-community/async-storage' ;
13
+
14
+ const persistConfig = {
15
+ // ...
16
+ storage: AsyncStorage
17
+ }
18
+ ```
19
+
8
20
## Quickstart
9
21
` npm install redux-persist `
10
22
You can’t perform that action at this time.
0 commit comments