react-native-offline-first-example
Example of offline-first app with React Native
Tutorial: How to create/update/delete data when device has no connection and then sync it.
npm start
- to run app
npm run server
- to start simple server
How it works - described in presentation: https://docs.google.com/presentation/d/1IYV9ABKLZJPhBXgcvn2vkrYHohTpO9NkGo-oG58ZfwM
Using:
redux
- Flux implementationredux-thunk
- middleware for async stuffredux-persist
- stores redux state in ReactNativeAsyncStorage