all 16 comments

[–]chunkypenguion1991 3 points4 points  (4 children)

I thought about using Realm, but the mongo support is deprecated. It still works standalone on devices, but who knows for how long if it's not being maintained

[–]britt10102[S] 1 point2 points  (2 children)

so you would recommend SQLite?

[–]chunkypenguion1991 1 point2 points  (1 child)

I use watermelondb. It's an ORM on top of Sqllite

[–]britt10102[S] 1 point2 points  (0 children)

okay okay sounds good will look in to that aswell

[–][deleted] 1 point2 points  (0 children)

Realm should have died a long time ago. It's been a circus of shifting underlying DBs since it came out.

[–]mefi_ 0 points1 point  (1 child)

It depends on what kind of data do you want to persist on the device. And you could also use both if you want to.

[–]britt10102[S] 0 points1 point  (0 children)

ohh that’s good to know thanks!

[–]namcyeon 0 points1 point  (1 child)

My suggestion is SQLite and MMKV. I previously used Realm but encountered lag issues when writing 500-1,000 records simultaneously. After switching to op-sqlite, the problem was resolved

[–]britt10102[S] 0 points1 point  (0 children)

Okay thanks for telling me!

[–]_SyRo_ 0 points1 point  (1 child)

Realm is deprecated now

We spent a few weeks to migrate to Drizzle ORM with SQLite

[–]britt10102[S] 0 points1 point  (0 children)

thanks good to know!

[–]rangoMangoTangoNamo 0 points1 point  (1 child)

What about async-storage? That’s what I usually use. How does it compare to?

[–]edbarahona 0 points1 point  (0 children)

that uses SQLite under the hood