Can I primarily write in Kotlin while working on r...
# javascript
y
Can I primarily write in Kotlin while working on react and node.js projects? I know Kotlin can compile straight to JS but my coworker would still use JS only.
👍 2
a
^ I'd also like to know the answer to this. One of our UI's may be converted to react soon
g
Yes, you can. There is even official react wrappers and tools to create React Kotlin apps https://github.com/JetBrains/create-react-kotlin-app
And with node.js is just straightforward, use common.js for modules (supported out of the box by kotlin js, just enable it) and compile Kotlin to Js and run it with node