Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 786 Bytes

read-resilience.md

File metadata and controls

7 lines (4 loc) · 786 Bytes

Persistence is key

In order to render meaningful content when the user opens your application offline, your application state needs to be persisted to disk.

Instead of reinventing the wheel, Redux Offline uses the excellent redux-persist library. Your Redux store is saved to disk on every change, and reloaded automatically on startup. By default, browser environments will use IndexedDB or WebSQL/localStorage fallbacks via localForage, and AsyncStorage in React Native.

You can configure every aspect of how your state is persisted.