react-native-community / discussions-and-proposals

Discussions and proposals related to the main React Native project
https://reactnative.dev
1.68k stars 126 forks source link

Using the JS / Native Bridge from other languages #336

Open adligo opened 3 years ago

adligo commented 3 years ago

Introduction

Hi all, I am wondering if anyone is using the JS/Native bridge from react-native from JS transpiled from other languages (i.e. Java (Andriod union GWT?), Kotlin (JS), Scala (JS) etc) ?

It seems that this would be possible and make sense given the amount of work that has clearly gone into this project.

Details

Not much yet, just being curious :)

Discussion points

It would seem that if Java was written in a specify way it would could run native on Andriod and then transplie using GWT to JS that could then run on iOS. Again I'm just being curious and looking to see if anyone has played around with this kind of setup?

StEvUgnIn commented 3 years ago

https://www.linkedin.com/pulse/develop-uxui-cross-platform-apps-kotlin-steve-huguenin