Android Compose 有很多炒作,因为它是声明式的。唯一的问题是它仍然缺少很多功能。 ConstraintLayout 是迄今为止用于增强应用程序性能的最佳布局,而 Android Compose 仍然没有 ConstraintLayout。关于是否使用Android Compose,没有多少文章做过相关论证。在我看来,Android Compose 仍有很多发展空间,尤其是它还没有被很好地记录下来。如果没有一个性能良好的应用程序的所有必需品,Android Compose Production Ready 就绪了吗?
最佳答案
更新:2021 年 8 月,稳定的 1.0.0
版本发布了 Jetpack Compose。通过大多数常规措施,Compose 已准备就绪。原始答案以其原始形式显示在下面。
Is Android Compose Production Ready?
我假设“Android Compose”是指“Jetpack Compose”。
2019 年,Google 一直将 Jetpack Compose 称为预览状态,不适合生产使用。
例如,在 the main Jetpack Compose page 上,我们有:
Note: Jetpack Compose is currently in Developer Preview. The API surface is not yet finalized, and changes are planned and expected.
关于main Jetpack Compose Tutorial page ,我们有:
Note: Jetpack Compose is currently in Developer Preview. The API surface is not yet finalized, and should not be used in production apps.
在the Android Developer Summit keynote blog post ,我们有:
Today we are releasing the Jetpack Compose Developer Preview. All you need to do is download the latest Preview build of Android Studio. Compose is being developed completely in the open, in AOSP. The continuous feedback we receive has led to many API improvements and we want to thank you for providing feedback in our developer studies and the Kotlinlang Slack group. As we enter developer preview, we need even more feedback as we work towards bringing Jetpack Compose to beta next year and ready for use in production apps.
(强调)
因此,一年后再来看看,我们将看看 Jetpack Compose 是否已经发展到 Google 认为您应该在生产应用中使用它的程度。
关于android - Android Compose 生产准备好了吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58576815/