https://kotlinlang.org logo
d

Daniel Rendox

07/30/2023, 9:30 PM
Hello, devs. I've recently started learning and using Jetpack Compose and discovered that lots of features are experimental. They are marked with the respective annotation that requires an opt-in and shows a warning that explicitly states it's not safe to use. Then I have a question. How safe is it to use such features? Like, it’s OK if these features become stable while I’m developing an application. Then I’ll not worry about them in production. It’s probably also normal if I use them for my own application and I’m ready to support it afterwards. But what if I make an app for a client? They are not gonna be happy if something breaks right after I deliver it.
j

jw

07/30/2023, 10:04 PM
Safe for apps, unsafe for published libraries
❤️ 1
Whether or not you can use them for clients is a discussion between you and your client
r

romainguy

07/30/2023, 10:07 PM
Also note an experimental API would only (potentially) break/change when you update Compose. An existing published app won't be affected
2
❤️ 1
2 Views