Menu

1 / 2

Teaching a Compose Multiplatform App to Be a Website

DEV Community: kotlin·Vladislav Kochetov·about 10 hours ago
#zUnUBgly
#devtokotlin#devto#dev#compose#first
Long article (4342 words) — no AI summary yet.
Reading 0:00
15s threshold

Notes from an Android developer. Still a work in progress.

I'm an Android developer, and most of my work has been Kotlin and Jetpack Compose. On the side, I'm building Braindance , an open-source app that helps you pick your next game with recommendations, what's trending now, and free giveaways. The web app is live at app.braindancegg.com , with Android and iOS coming next.

For the web version, I didn't write a separate JavaScript frontend. I used Compose Multiplatform, which compiles the same Kotlin UI to WebAssembly and draws it into a <canvas> . Running it in a browser took one commit. Making it behave like a website has taken 37 commits and about 2,300 lines of browser-only code so far.

This post covers what broke along the way, what I changed, and what I measured.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.