I have a large (kotlin) Android app that I want to migrate to Compose. It’s currently using Material 2. Would you recommend first migrating to Material 3 before migrating to Compose?
1️⃣ Material 3 first
2️⃣ Compose first
a
Alex
01/21/2023, 1:29 PM
I would definitely go for compose first, it will be a lot less of a hassle in my experience than switching xmls to xmls
adding material 3 compose later is a comparatively easy step
m
Mark
01/22/2023, 2:29 AM
Ok so that vote was more than comprehensive lol. The reason I asked is because the material 3 compose library seems to have more advanced composables, and I don’t want to be writing workarounds on top of Material 2 composables. For example
OutlinedTextField
has
supportingText
in Material 3 only.
a
Alex
01/22/2023, 5:08 PM
To be honest, to me it feels like google is slowly abandoning material 2, so features will get delayed more
m
Mark
01/23/2023, 2:37 AM
But isn’t that an argument in favour of migrating to Material 3 first (since that’s a well established path)?
a
Alex
01/23/2023, 10:06 AM
In my opinion the transition to compose is already a large refactor, I would just do both steps at once - but then again, I don’t know your specific design constraints