The Ultimate Guide to Writing Clean Jetpack Compose
Большое руководство с рекомендациями, как писать структурированный, понятный и чистый Jetpack Compose код.
🟢Naming Composable functions
🟢Ordering Composable parameters
🟢Emit content OR Return a value
🟢Do not emit multiple pieces of content
🟢Composable must accept and respect a Modifier
🟢Prefer stateless and controlled Composables
🟢State should be Hoisted
🟢Use Padding provided by Scaffold
🟢Avoid adding some modifications directly to the root component of a composable
Читать (En)
Post #1460
4.15K

- 👍 12
- ❤ 4
- 🔥 3
- 👎 2