Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 553 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 553 Bytes

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 implementation
  • redux-thunk - middleware for async stuff
  • redux-persist - stores redux state in ReactNative AsyncStorage