anyone got any experience using kotlin with react?
# javascript
b
anyone got any experience using kotlin with react?
a
I tried, there were problems to create a header file using ts2kt utility. I asked about this couple weeks ago in this channel. Current status is that ts2kt is still not ideal and can’t convert all typescript definitions. JetBrains use react with kotlin, but as far as I understand they write headers manually. I even created a task for providing some kind of tutorial on developing full stack app with kotlin and react: https://youtrack.jetbrains.com/issue/KT-16733 You can vote and watch it 🙂
b
voted and watched! thanks Alexey 🙂
a
Unfortunately not sure that ts2kt will be able to convert all ts code in nearest future… There was an opinion, that there shouldn’t be a full feature converter but a new kotlin oriented framework. I’m not agree with it, I’m afraid it can repeat GWT’s story. Infrastructure must be able to interact with existing frameworks to get wide audience. It would be strange if we say, don’t use spring with kotlin, here is a kotlin specific DI container. So kotlin can just interoperate with any java frameworks. I think frontend technologies should go the same way.
c
Note that Andrey Breslav did a demo showing Kotlin + React last week. The demo is here:

https://www.youtube.com/watch?v=QQKdFFRqamg&t=21m02s

The Q&A about its release is here:

https://www.youtube.com/watch?v=QQKdFFRqamg&t=1h26m33s

General Q&A about Javascript starts here:

https://www.youtube.com/watch?v=QQKdFFRqamg&t=1h23m46s

a
Oh, thanks about it! I’ll have a see
👍 1
b
Thanks Chris! saw the demo but haven't made it through the Q&A yet 🙂 hoping they release the demo code soon!
👍 1