Realm-js: React-Native V8 compatibility

Created on 12 May 2020  路  6Comments  路  Source: realm/realm-js

Goals

Hi!

I'm currently working on a project where we would like to use Realm but this project is using the v8 engine (https://github.com/Kudo/react-native-v8) and when I run the app, Realm seems to look for libjsc.so.

Is there a plan to get Realm working with React-Native using the v8 engine?

Version of Realm and Tooling

  • Realm JS SDK Version: 5.0.5
  • React Native: 0.62.2
  • Client OS & Version: Android 10
  • Which debugger for React Native: Flipper
O-Community

Most helpful comment

@neolitec We don't support V8 on React Native but it is a pretty cool idea. We do support V8 (node.js) but we need to research a bit to see if we can reuse it.

Thanks for bringing it to our attention.

All 6 comments

@neolitec We don't support V8 on React Native but it is a pretty cool idea. We do support V8 (node.js) but we need to research a bit to see if we can reuse it.

Thanks for bringing it to our attention.

@kneth .. any update on this. I can still see it is not supported as my app is crashing in debug mode

@Sine99 No update to share. We haven't prioritized yet as we believe our resources are used on other issues.

Any updates? As there is still no compatibility with Hermes, this may be a good alternative. Realm performs well even on older devices, but in the general context of the project it is important to have a more performance JS engine for rendering. In some cases this can be a negative factor in adopting Realm in a project.

This is not currently in our roadmap but feel free to make a feature request here - we review this at every quarterly review
https://feedback.mongodb.com/forums/923521-realm

Ok, thanks!

This is the link to the feature request, in case anyone wants to follow: https://feedback.mongodb.com/forums/923521-realm/suggestions/42533812-react-native-v8-compatibility

Was this page helpful?
0 / 5 - 0 ratings