Hi everyone. I’m new to Kotlin for web frontend. I...
# compose-web
p
Hi everyone. I’m new to Kotlin for web frontend. I did some searches and found: kobweb, kilua Have you worked with these frameworks? Can you advise? Thanks!
I also wonder if I should go with Compose multiplatform?
r
You might want to read this article: https://bitspittle.dev/blog/2024/c4w
thank you color 1
👍 1
p
Wow, thanks @Robert Jaros let me take a look
I’m on kilua docs 🙂
r
There are also other web options for Kotlin (not compose-based): #C01CSNG1HJ4, #C01CJM07MGV, #C5ZTZ6ER0, #CL4C1SLKC
Kilua is still a fresh project and docs are far from being complete.
p
@Robert Jaros #C5ZTZ6ER0 means write React by Kotlin?
r
p
There are more options than I thought. I come from the mobile dev world (Flutter, I’m learning KMP), which options should I consider?
r
Hard to tell. It depends what do you want to create. CMP is probably a good option if you just need a web version of a mobile app you made with KMP. But if creating a good (fast, responsive, accessible, etc) web application is your priority you should probably consider other options.
p
I mean I won’t use KMP for the web version because I need fast, accessible, SEO…
but I am a little bit familiar with the compose like: state management, composable
so if I can write the code in a similar way, it will be faster for me to have the prototype
r
So you should definitely look at the two you mentioned in the first post. Kobweb surely is more mature and stable. Also better documented and easier to use with its CLI app. But it's Compose HTML under the hood, so no wasm support and no SSR - the major two features you get from Kilua.
p
cool! that’s what I wanted to hear. Thanks for your advice! @Robert Jaros
k
The compose was designed as the react. Kotlin wrappers are awesome as well 😉
p
@Konstantin Tskhovrebov thanks for your point. 👍