I'm interested in Jetpack Compose multi platform but the objective is from one code base to deploy both a desktop and web app, is that currently possible ? much thanks
11/30/2021, 6:05 AM
The straight answer is no.
Compose for Desktop and Compose for Web are both things; but they don't yet - and probably never 100% will - provide a Flutter-like ability to deploy a single code-base to both Desktop and Web.
Compose for Desktop is much more mature than Web at the moment; it's possible Web will 'rise up' to achieve the kind of 90% API parity that Android and Desktop currently share. At that point, Compose Multiplatform becomes something like a 'power users Flutter' - still not turn-key deployability of one code base across all; but a sweet-spot balance of code-reuse and platform specificity where it counts.
11/30/2021, 1:55 PM
thanks, its like the quest for the holy grail, I spent some time with Flutter and did like it over all, but many in the shop would dislike Dart although that's sort of not material, our product is a desktop app but to spin off some off the UIs has its benefit, I also have developed with JavaFX but I use Groovy to code it, I'll keep my eye on Compose and perhaps will revisit Flutter since its been about six months since I have interacted with it and perhaps it too has grown, thanks for the feedback