Are there any possibilities to use compose-web on ...
# compose-web
ł
Are there any possibilities to use compose-web on older chromium version like 56+?
a
Yes, with Kotlin/JS instead of Kotlin/Wasm
s
How is JS support? I know its slower
a
It's a bit slower and should work 99% the same as Wasm. We are working on runtime performance improvements, so I hope it will not work tragically slower.
s
Last I saw WASM was able to maintain a steady 60 FPS, but JS was struggling to maintain 30. This was more than a year ago. Has that improved?
ł
but can i use compose ui in kotlin/js except wasm?
a
Yes, sure. Compose for Web works for both Kotlin/Wasm and Kotlin/JS
ł
okay, ill check it, thanks
l
@spierce7 Depends on your code! I have some Kotlin/JS projects that work at 60 or 120fps in the browser.
K 1
ł
i got an error in webOS 4.x chromium 56 ->
can we use compose without wasm?
@louiscad if u can, send some samples
Kotlin/JS based compose for web application
ł
yeah, but onWasmReady is not working on chromium 56
sure?
I don't see why it should not work
Oh, I see. https://caniuse.com/wasm Wasm is under the flag for the chromium <57
So, it means that you can't run a Compose App (even on Kotlin/JS) without running the browser with flag (to enable it)
But for 57+ - you can
ł
okayyyy
a
Sorry 😓
ł
are there any possibilities to set this flag from app code?