yeah you’re right. the flag works as expected, it ...
# compose-web
j
yeah you’re right. the flag works as expected, it just takes about 4 seconds to be picked up and I wasn’t patient enough 😄
🧵 1
b
You can ctrl+s to force save your changes and trigger the reload. Or just alt+tab and wait
But expect it to be WAY slower than you're used to in plain JS. Kotlun has to do a ton more work to get to the same output.
l
I don't even mind the speed so far. I usually waste all that time with trying and failing JS anyway 😅
b
Yeah, Kotlin.js takes some time getting used to. But once you know all its quirks I can say that the experience is pretty smooth (although slow).
Although I think it's easier to get into kotlin.js than to configure webpack + ts + jsx...
Community is much more helpful!
l
I tried many times to learn JS/vue/react/* but I never could. Coming from a Java background to a JS environment was always impossible for me
With Compose Web I'm having the chance to write my first
j
yeah just to be clear, my point wasn’t to dunk on Kotlin JS, I’d love to write Kotlin for my frontend. It’s just my first experience and being used to pretty much instant reloads that looks like a huge step back in terms of developer experience
I’m curious to see how it will look like in a few weeks. 🙂
l
Absolutely! It is still really slow to compile
j
is it something that’s worked on by the devs?
l
Yes
j
nice
l
And very worked on. Kotlin's IDE/workspace performance is always on release notes, and as a heavy Kotlin user (> 3 years) I testify that it has improved a lot since the beggining
🙌 1
j
that’s what i was hoping to hear.
Thanks!
I’ll have a closer look at the roadmap and releases in the future