Docs Menu

Realm React Native SDK

Use the Realm React Native SDK to develop iOS and Android apps with JavaScript or TypeScript.

Learning Paths
Functions Icon

Quick Start

Minimal-explanation code examples of how to work with Realm.

See Code Examples

Realm Mobile Icon

Working Example App

Learn from example by dissecting a working React Native client app that uses Realm with Device Sync.

Explore an Example App

Tutorial Icon

Guided Tutorial

Follow a guided tutorial to learn how to adapt the example app to create your own working app with Realm and Device Sync.

Follow the Tutorial

What You Can Do

Use open-source Realm to store data on a device. Use Device Sync to keep data in sync with your MongoDB Atlas cluster and other clients.

Essential Documentation
Realm Icon

JavaScript API Reference

Explore generated reference docs for the React Native SDK.

React Native Reference

Expo Icon

React Native Quick Start with Expo

Build and deploy a React Native application quickly using an Expo template application with @realm/react.

Explore the Quick Start

Explore engineering and expert-provided example projects to learn best practices and common development patterns for Realm and Atlas App Services using the React Native SDK. Check out the Example Projects page for more React Native sample apps.

Mobile Database Icon

Netflix-like Movie App

Build a Netflix-like app for browsing movies from MongoDB's Mflix sample dataset. Use multiple realms to allow registered users to sync and manage movies in their own private list.

Example project

Realm Offline Icon

Offline Login and Realm Access

Log in a Device Sync user and open a synced realm offline.

Example project

Users Icon

User's Online State

Detect connectivity and activity of users and devices.

Example project

Cloud Mobile Transfer Icon

Connection State Change & Error Handling

Learn best practices around handling Sync errors and client reset strategies.

Example project

Share Feedback