Realm vs SQLite for local DB?

This page summarizes the projects mentioned and recommended in the original post on /r/reactnative

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • realm-js

    Realm is a mobile database: an alternative to SQLite & key-value stores

  • I remember the hermes support being an issue a few years ago. It SEEMS they have resolved that based on this. I'll need look into that Reanimated issue since we do use reanimated. Thanks for pointing me in that direction.

  • Realm

    Realm is a mobile database: a replacement for Core Data & SQLite

  • I am working on a react native application that works primarily offline. We are currently using redux persist to store our data but need to migrate to a more scalable solution. We don't need to worry about any backend sync which simplifies things. After some research the two that keep coming up are Realm and SQLite. I was wondering what people's experience with these two are and if anyone has any opinions or tips. I am open to other suggestions as well, these just seem to be the most common.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • react-native-sqlite-storage

    Full featured SQLite3 Native Plugin for React Native (Android and iOS)

  • I have two apps in prod one using https://github.com/andpor/react-native-sqlite-storage and one using https://github.com/realm/realm-js, both offline only, so I guess I can report my experience with those.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts