https://kotlinlang.org logo
Title
d

Dirk Hoffmann

02/05/2021, 11:33 AM
will jetbrains maybe(!) also target compose for running inside browser web-apps? (maybe with a matured WASM (https://webassembly.org/)
👍 1
s

shikasd

02/05/2021, 11:36 AM
#compose-web
💚 1
:thank-you: 1
d

Dirk Hoffmann

02/05/2021, 11:39 AM
is there a "landing page" or something similar to the compose(-desktop) tutorials for it already?? (or too alpha yet?)
k

Karthick

02/05/2021, 11:46 AM
No not yet
s

SrSouza

02/05/2021, 12:05 PM
I think is possible to do something with CanvasKit from Skia, I don't know much about it, but, I think should work Also, Flutter does use CanvasKit on web
d

Dirk Hoffmann

02/05/2021, 12:06 PM
well I don't want to have "something" forced now. Happy to wait until compose-web is ripe for harvest 🙂
will I be able to "reuse" my (non-desktop-non-android-specific ) "@Components" out-of-the-box in compose-web?
p

pavi2410

02/07/2021, 10:26 AM
@SrSouza rendering on a canvas is not a good idea for web, IMO
s

SrSouza

02/07/2021, 12:46 PM
Well, I agree but flutter on web is pretty fast using CanvasKit https://skia.org/user/modules/canvaskit Flutter Renders: https://flutter.dev/docs/development/tools/web-renderers
s

shikasd

02/07/2021, 3:19 PM
I believe that both have their own advantages: - CanvasKit will allow to reuse skia based components that are already used for Android/Desktop - At the same time, if you only want to build a web application, DOM based components are way more suited for that. Apart from having more benefits of being native to the platform, you can integrate third party components from JS world as well. It is not about the raw speed, but also the integration, accessibility, devx and million more things :)
👍 1