Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md on config #160

Merged
merged 1 commit into from
Sep 1, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ persistStore(store, config, callback).purge()
- **storage** *object* a [conforming](https://github.com/rt2zz/redux-persist#storage-backends) storage engine.
- **transforms** *array* transforms to be applied during storage and during rehydration.
- **debounce** *integer* debounce interval applied to storage calls.
- **keyPrefix** *string* change localstorage default key (default: **reduxPersist:**) [Discussion on why we need this feature ?](https://github.com/rt2zz/redux-persist/issues/137)
- **callback** *function* will be called after rehydration is finished.
- returns **persistor** object

Expand Down
1 change: 1 addition & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ purgeStoredState({storage: AsyncStorage}, ['someReducer']).then(() => {
transforms: [transformA],
storage: AsyncStorage,
debounce: 33,
keyPrefix: 'myAppStorage:'
}
```

Expand Down