https://kotlinlang.org logo
#compose-web
Title
# compose-web
s

Shubham Singh

02/07/2023, 6:46 AM
Hi everyone In the
falling-balls-mpp
sample, the canvas in the js app takes the size
800 x 600
. Is there a way to change it so that the canvas takes the complete screen size? So that when I resize the browser, the composables recompose to accommodate the current screen size?
s

Shubham Singh

02/07/2023, 11:20 AM
This is great! Thanks a bunch Michael 🙌
s

spierce7

02/07/2023, 1:33 PM
It's not a small example 😞 I hope we can ship < 10MB reasonably sized apps this year
This is just such a small example I'm a little scared
m

Michael Paus

02/07/2023, 4:13 PM
I think the size does not grow that much when the app gets bigger. Its the skiko runtime which is eating up most of the space and I hope this can be cached somehow and maybe even shared.
12 Views