Live data from Hacker News

Create React apps using Kotlin

github.com

1–10 of 68 posts

Re: Create React apps using Kotlin

#3
post #2

Intriguing approach. Anyone know if there's a write-up somewhere from somebody that's tried it? It's always helpful to learn from the gotchas others have run into.

This is all fairly new stuff so there're probably few users outside of JetBrains. Check out https://github.com/JetBrains/kotlinconf-app, it's all written in Kotlin — backend, frontend, everything.

Re: Create React apps using Kotlin

#4
post #2

Intriguing approach. Anyone know if there's a write-up somewhere from somebody that's tried it? It's always helpful to learn from the gotchas others have run into.

JS as a compilation target is supported by kotlin out of the box. You can use any js framework and IIRC it even understands typescript type annotations. I'm super pumped about kotlin, can't wait to write a whole app, backend and front-end in it.

Re: Create React apps using Kotlin

#5
post #2

Intriguing approach. Anyone know if there's a write-up somewhere from somebody that's tried it? It's always helpful to learn from the gotchas others have run into.

JS as a compilation target is supported by kotlin out of the box. You can use any js framework and IIRC it even understands typescript type annotations. I'm super pumped about kotlin, can't wait to write a whole app, backend and front-end in it.

Wow. I had no idea. That’s great to know. Thanks for relaying that info. Do you have any further resources you recommend with regards to this?

Re: Create React apps using Kotlin

#6

Earlier quoted context omitted.

JS as a compilation target is supported by kotlin out of the box. You can use any js framework and IIRC it even understands typescript type annotations. I'm super pumped about kotlin, can't wait to write a whole app, backend and front-end in it.

Wow. I had no idea. That’s great to know. Thanks for relaying that info. Do you have any further resources you recommend with regards to this?

Here's a whole stack app built by JetBrains themselves in Kotlin with React for front end https://github.com/Kotlin/kotlin-fullstack-sample

Re: Create React apps using Kotlin

#7
Can I use this outside IntelliJ (Atom perhaps)? I despise JavaScript, GWT is underwhelming and Kotlin seems like a nice way to bypass these issues + React is becoming a de-facto standard. IntelliJ became too big/slow/feature creeped and I am not having good time with the latest code completion changes, so I am considering dropping it (PyCharm as well) for something more light-weight.
Post reply on HN