The article discusses the benefits and drawbacks of using an offline-first approach in React Native apps. It introduces WatermelonDB as an open-source solution for handling data in mobile apps and explains how to sync the app with a Supabase backend using Remote Procedure Calls and Supabase Realtime.
Table of contents
Create a React Native/Expo appAdd required dependenciesSetting up WatermelonDB native dependenciesCreating the WatermelonDB data modelSyncing the local DB with SupabaseConclusionSort: