React native realm crud online offline - tutorial


Hi all I’m building my first react native app and it needs to work offline then sync when back online.

Basically it shows a user a list of people
They can click on the person and update their details

Or they can insert a new person

There is also a search for filtering people based on name.

I was wondering with realm platform I had a few questions.

  1. In the event of going offline would it be possible for people to be created and edited and then when internet connection resumes re-sync data

  2. How does conflict resolution work in realm

  3. Is there a good tutorial on getting started with offline first and sync around to read. I can’t seem to find much on the platform just realm as a local db

  4. Does anyone have suggestions for document versioning? I was thinking of ensuring every time a crud form is edited make a new version and retrieve that version

I know it can be done in firebase using functions to auto add versions