We are exploring on how to build a PWA using Kotli...
# compose-web
s
We are exploring on how to build a PWA using KotlinMP Its going to be a simple 15 screens max application with support for QR scanning and Upload media to server So many directions to go into🤯 We are looking for something with familiar feel to compose and android development (short learning curve) I initially thought Wasm was the way to go (hard to debug whats the issue for a basic page) Looking for guidance and where to look
r
You can check #C06UAH52PA7 (https://kilua.dev) or #C04RTD72RQ8
s
I did check out both Still need time to wrap my head around core web concepts Kilua supports both js and Wasm Still need to understand key differences between both
We still want client side rendering
r
If you have any question don't hesitate to ask (I'm the author of Kilua).
s
Thanks @Robert Jaros Will do Will experiment more and comeback here Any resources to look at?
r
The website contains a comprehensive guide. There are also same examples you can play with.
You might also look at https://github.com/rjaros/kvision-examples/tree/master/pokedex It's a fully compliant PWA application created with Kotlin and #CL4C1SLKC
🙌 1
s
Thanks again
j
If you want a familiar feel to compose and android development -> why not choose compose multiplatform?
s
I did build a screen with CMP Unable to render anything Its silently failing
j
did you try to start a project with the compose wizard? That should be up and running out of the box and then you can build on there
s
Im on CMP 1.9.3
Yes i started with that Hello world was working Then built a proper login screen not working for some reason been trying to debug Looking at Jetsnack and similar libs Unfortunately not all are updated
Viewmodel, State and the works Something is amiss
j
that is a shame, I have a nice project up and running and usually if I messed up something then in the browser console it would show up
and also it would not work on other platforms -> maybe you can try to create a jvm (desktop) target as well, there I had a better time debugging
and "usually" things for me work on web the same way. Maybe try to update everything to latest and greatest
s
thats the approach i took update everything seems like all the examples are on older versions
j
cmp 1.9.3 is not the latest, but in theory it should still be fine to run