Skip to content

Example App using best practices for React Native offline (InstaMeow) presented at React Native EU 2017

License

Notifications You must be signed in to change notification settings

Osedea/react-native-offline-first-example

Repository files navigation

InstaMeow

Example App using best practices for React Native offline behaviour (InstaMeow) presented at React Native EU 2017

The app is available on the App Store (Apple refused the app because too simple) and on the Play Store.

The backend is also available here: Osedea/react-native-offline-first-example-backend

The slides of the présentation are available here (I'm sorry, it's a Keynote file, so you'll need to download it).

Concepts

  • Use local data whenever possible
  • Separate your app’s UI from its data
  • Assume your app can be closed at any time
  • As many actions as possible should be doable offline
  • The User should always have access to previous or critical data
  • Adaptive UI
  • Be optimistic (UI) / Be pessimistic / Be pragmatic

Key takaways

  • The UI should adapt to communicate to the User the degraded state of the App
  • Be optimistic, pessimistic and pragmatic considering requests
  • Save your application state often
  • Trust your device, don’t trust your connectivity

Key packages

Resources

About

Example App using best practices for React Native offline (InstaMeow) presented at React Native EU 2017

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published