Alright, another noob question... I have an exist...
# compose-desktop
c
Alright, another noob question... I have an existing Android only project and it has an
app
module, and then a
my_composables
module. I converted the project to support kmm in order to get compose for desktop working. Now
my_composables
is a kmm module with
Copy code
androidMain
commonMain
desktopMain
main
I put a brand new
HelloWorld
composable in common, and can now use that common composable in my
app
module and
desktopApp
module. All is good with the world AND I can slowly migrate my android only composables from
main
into
commonMain
. That's my current strategy. Slowly migrate from
main
into
commonMain
. Is that "bad" or wrong? Should I just shove everything into
androidMain
? Basically asking "is
main
in a kmm module a bad pattern?"