Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
wacii authored Oct 5, 2017
1 parent 6654575 commit d85dac8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ const config = {
};
```
You can pass your persistAutoRehydrate method. For example in this way you can add a logger to the persistor.
Provide your own method to rehydrate the state with `config.persistAutoRehydrate`. The following code demonstrates how to use the default rehydrator in debug mode.
```js
import { autoRehydrate } from 'redux-persist';

Expand Down Expand Up @@ -475,11 +475,9 @@ Background sync is not yet supported. Coming soon.
#### Use an [Immutable](https://facebook.github.io/immutable-js/) store
The `offline` state branch created by Redux Offline needs to be a vanilla JavaScript object.
If your entire store is immutable you should check out [`redux-offline-immutable-config`](https://github.com/anyjunk/redux-offline-immutable-config) which provides drop-in configurations using immutable counterparts and code examples.
If you use Immutable in the rest of your store, but the root object, you should not need extra configurations.
See [`redux-offline-immutable-config`](https://github.com/anyjunk/redux-offline-immutable-config) which provides drop-in configurations using immutable counterparts and code examples.
[Contributions welcome](#contributing).
Whether the store is immutable or not, the `offline` state branch created by Redux Offline will be a vanilla JavaScript object.
## Contributing
Expand Down

0 comments on commit d85dac8

Please sign in to comment.