React Native without JavaScript


(Rex) #1

I’ve been doing some brief digging through React Native’s github and noticed a plethora of C++ code. Would it be possible to leverage React Native’s base infrastructure for API portability without actually bringing in any of the JavaScript necessities? I’d be interesting in leveraging what’s there in pure native code, possibly Rust, on mobile.


(Adam Perry) #2

While I think this is technically possible, I’m not entirely sure I’d advise it at this point. The C++ interfaces are under heavy revision at the moment: https://facebook.github.io/react-native/blog/2018/06/14/state-of-react-native-2018. That said it would be a super interesting project and you should post back if you make any progress!