What problem does it solve?
Enables developers to write performant, reusable Jetpack Compose UI by enforcing state hoisting, proper modifiers, and a consistent theming approach.
Core Features & Use Cases
- Stateless Composables and Unidirectional Data Flow: Move state up and pass callbacks down to keep components testable.
- Modifier Best Practices: Always include a default modifier and apply layout-affecting modifiers in the correct order.
- Performance Optimizations: Use remember, derivedStateOf, and stable lambdas to minimize recompositions.
- Theming and Design System: Leverage MaterialTheme and a cohesive design language across components.
- Previews and Testing: Structure shared UI components for previews and maintainable tests.
Quick Start
Apply these Compose UI guidelines to your project by refactoring components to be stateless, wiring them to a ViewModel, and adopting the recommended theming and modifier patterns.