Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compose Web JS is Needed #14

Open
bgcl opened this issue May 26, 2023 · 0 comments
Open

Compose Web JS is Needed #14

bgcl opened this issue May 26, 2023 · 0 comments

Comments

@bgcl
Copy link

bgcl commented May 26, 2023

A few months ago I proudly wrote my web app in Kotlin using Compose for Web.

It was a beautiful thing. It just worked in normal browsers. I loved showing it off to my developer friends, emphasizing that even the CSS was in Kotlin.

Alas, when this week I returned to further develop the app -- it's all gone :-( Compose for Web no longer seems to compile to JS. It seems to compile to wasm, which means it doesn't work in normal browsers.

Here's the key problem -- while wasm is good, how could anyone get their users to upgrade their browsers or apply a special flag to get wasm to work?

Is there really no way to compile to javascript so it just runs on normal users browsers? I really hope I am mistaken in understanding that even when compose is fully implemented on wasm development, it will still need months to years of upgrades to propagate in user-land, before we can successfully consider using production apps. (I'm staring at nodjs/React hell as I write this .. please tell me there's a way to get back the beautiful Compose web I saw and used just a few months ago)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant