I started using Koin with my jetpack compose for d...
# compose-desktop
c
I started using Koin with my jetpack compose for desktop application and got a taste for the finer things, and am now eyeing the richer inversion of control options that Quarkus provides (e.g. @Schedule, config injection) and am wondering how crazy might it be to use quarkus with compose desktop in an application that is meant to ship to end user devices? (am currently using conveyor for what it's worth)
anyone tried quarkus or a similar container framework with compose desktop? The application is very unlikely to be running in a container, but these frameworks do a lot of other nice things that would be hard to achieve by manually including their transitive dependencies
concern being that this is definitely not what quarkus is intended for or had in mind, though could be quite nice for
c
TIL Quarkus
โž• 1
p
Should be possible. However, not sure how hard it is to adapt a compose application to quarkus or actually, adapting quarkus to a compose App. But the fact that you can mix both I believe is possible
m
There are certainly people using Spring in desktop apps so it should be possible
You know the drill here: try it out and write a blog post ๐Ÿ™‚
๐Ÿ‘๐Ÿป 1
๐Ÿ‘ 2
๐Ÿ˜… 2
c
Just wanted to update here that I got quarkus and compose working in devmode, and the dev ex is really nice with Quarkus' robust live reloading (which relies on a tree of class loaders, and has various optimisations), which I have setup so part of the application's data layer can persist hot reloads, which seem to be robust to any type of change (e.g. new files/classes, renaming) and only take 1s each! Next I want to try adding decompose and a
remember
wrapper that uses the
Component
hierarchy minus the root as a key when in devmode, so that compose desktop devs can make most of their changes anywhere in the application with about a second to feedback ๐Ÿ˜„ I'll write a blog post on this when I've gone a bit deeper and got the deployment side of things working
๐Ÿ‘ 3
m
Nice, that's really cool. Looking forward to reading it. I didn't know Quarkus had invested so much into live reload.