Arkadii Ivanov11/17/2023, 7:30 PM
target, renders DOM elements (like React). 2. Compose for Web - uses
target, renders via canvas. 3. Compose for WASM - uses
target, renders via canvas. It would be really nice if Compose folks could mention all variants on various landing pages and READMEs. For instance, the main README says nothing about the variant #2. And the landing page mentions something called "Web" but redirects to the variant #3. WDYT?
rocketraman11/17/2023, 8:28 PM
Arkadii Ivanov11/17/2023, 9:03 PM
rocketraman11/17/2023, 11:39 PM
Arjan van Wieringen11/18/2023, 8:49 AM
Arkadii Ivanov11/18/2023, 9:00 AM
target it's super easy and native. We can import and use any existing JS library, or freely use the APIs like
, etc. If with WASM we can do the same, then the only concern for me is its adoption by browsers.
Robert Jaros11/20/2023, 6:58 PM
type in K/Wasm). You might be interested in a project I'm working on - https://github.com/rjaros/kilua. It's similar to Compose HTML and supports both JS and WASM targets with the same application code. It's still an early phase and no artifacts are published, but it already has all the main features of Compose HTML.
Igor Demin11/21/2023, 6:03 PM
Arkadii Ivanov11/21/2023, 6:16 PM
czuckie11/22/2023, 11:19 AM