« All posts

Building Sync on SQLite for React Native: A Custom Approach

Discover a new method for adding offline sync to your React Native app using SQLite.

When adding offline sync to a React Native app, libraries like PowerSync are often suggested. However, I developed Skulpt, an open-source workout tracker, which utilizes an SQLite database and implements its own sync layer. This allows users to make changes offline and ensures those changes reach the server. The application operates without a complex sync infrastructure, relying instead on a simple HTTP API and a sync queue.