Open raymondctc opened 7 years ago
Whoops, mistakenly closed due to conflict with internal issue number.
Reopening.
@greenrobot-team Not sure how popular ObjectBox. But supporting React Native would be truly awesome. In that case you go to growing market, without real competitors
As a React Native developer I strived to find any decent solution.
Firebase Firestore doesn't have real local database, only simple cache layer. Not for offline-first. And it can't search in arrays using in operator for more than 10 elements.
RealmDB is very buggy, it's literally not usable for anything production ready. It also uses strange "inspired by NSPredicate" syntax. I looks like it's not comparable and far behind full-power SQLite.
SQLITE has barely supported bindings. They use "bridge" (JavaScript <=> string <=> Java) serialisation which makes it even more slower.
I came up to support own patched bindings
https://github.com/breeffy/mobbly which is fork of https://github.com/andpor/react-native-sqlite-storage.
But now I have problem with syncing with server database. I need to implement own sync protocol, which is a big pain. Now I fully offline, without syncing.
Supporting React Native (using new C++ JSI architecture - no need bindings to Java or Swift, pure C++ to JavaScript) using JSI like this https://github.com/Nozbe/WatermelonDB/tree/master/native/shared would be a truly game changer. Especially with Sync.
And bring in a lot of attention in React Native community. Since now there is nothing decent.
+1 for how much value it can bring the community
Hi, any progress on this? Would love to have this work for React Native, massive use cases now
@krshubham Sorry, no concrete plans. We're experimenting with web support (not specific to React Native at this point).
Note for others: it helps us if you thumbs up the first post (GitHub can sort issues by thumbs ups)!
ObjectBox seems to be a power alternative. i use ReactNative in all apps, and need sync
With the things happening with MongoDB Realm (suddenly shutting down and giving developers just 1 year to find a replacement) this would be a really good oportunity
+1, I've used Objectbox in Flutter and the amount of value it can provide in RN world is massive. Given the Mongo Realm shutdown mentioned above, it would be a great opportunity to win many developers.
Allow RN apps to use ObjectBox as database