Re:WatermelonDB, a database for React and React Native apps
by radex on Tuesday September 11, 2018 @08:05AM
(#17958929)
I'm not an expert at Realm, so I might get some details wrong, but briefly:
- You can't run Realm on the web (not as a database, offline), but you can with Watermelon
- Realm is _a_ database, Watermelon is a more universal database framework that can be backed by any underlying database via an adapter
- Realm is more than just a database, it's also a whole app development platform. And it's designed to sync with a proprietary Realm cloud service. Watermelon is just a local database, but it tracks changes in the database so you can plug it in and synchronize with an arbitrary backend
- I heard that Realm (on React Native at least) doesn't perform super well when you get to many thousands/tens of thousands of records, but i haven't tested it yet myself, so take it with a grain of salt. Watermelon always does lazy loading so it doesn't really affect performance how many records total there are.
- You can't run Realm on the web (not as a database, offline), but you can with Watermelon
- Realm is _a_ database, Watermelon is a more universal database framework that can be backed by any underlying database via an adapter
- Realm is more than just a database, it's also a whole app development platform. And it's designed to sync with a proprietary Realm cloud service. Watermelon is just a local database, but it tracks changes in the database so you can plug it in and synchronize with an arbitrary backend
- I heard that Realm (on React Native at least) doesn't perform super well when you get to many thousands/tens of thousands of records, but i haven't tested it yet myself, so take it with a grain of salt. Watermelon always does lazy loading so it doesn't really affect performance how many records total there are.