1. React
  2. React Advanced
  3. 2019
  4. Offline-first in React-Native: How to Lose Your Web Dev Reflexes and Build Great Offline Apps

Offline-first in React-Native: How to Lose Your Web Dev Reflexes and Build Great Offline Apps

React has helped us build web applications faster than ever, but turns out this doesn’t help build mobile apps.

Josh Warwick at React Advanced 2019

React has helped us build web applications faster than ever, but turns out this doesn’t help build mobile apps. The main hurdle for web developers coming to mobile development (native apps with React native or PWAs) is handling offline capabilities. In this talk I’ll speak firsthand about this learning curve, the pitfalls and realisations of doing this in production apps. As an architect developer at Theodo I’ve seen developers struggle with this mindset switch on our projects over the past 2 years, and want to share our learnings! I’ll speak about: - Optimistic UX updating - Data persistence between app/server - Offline mode (request queuing) - Reconciling updates after this