Hey team! is any tools to convert Jetpack Compose code into Kobweb webapp code?
d
David Herman
02/03/2025, 4:44 PM
Not really -- they are pretty different domains
David Herman
02/03/2025, 4:45 PM
Not 100% sure if this metaphor holds up, but it might be like asking for code to convert spring boot code to ktor. Technically it could probably be done, but the APIs are different enough that it's probably unlikely someone will try to write them.
e
Eduardo Ruesta
02/03/2025, 4:56 PM
Yea! make sense! thanks anyway David!
d
David Herman
02/03/2025, 4:58 PM
You bet! If you haven't already, you may want to read this short section in my README: https://github.com/varabyte/kobweb#what-about-compose-multiplatform-for-web (it's at the end and can be easy to miss)
Also, just make sure your case isn't one where you actually want to be using Compose Mulitplatform for Web and not Kobweb. Because in that case, you could actually just use the exact same codebase.
e
Eduardo Ruesta
02/03/2025, 5:01 PM
thanks!! nono, i want to use Kobweb, i already have a kobweb project working but i want to do some changes and i want to do it fast. I wanted to reuse a view that I have in a Compose multiplatform project since it has been a long time since I touched kobweb and I had forgotten many things