Decompose is a Kotlin Multiplatform library for breaking down your code into lifecycle-aware business logic components (aka BLoC), with routing functionality and pluggable UI (Compose, Android Views, SwiftUI, Kotlin/React, etc.).
Features
- Better separation of concerns
- Decompose draws clear boundaries between UI and non-UI code
- Pluggable platform-specific UI (Compose, SwiftUI, Kotlin/React, etc.)
- Business logic code is testable with pure multiplatform unit tests
- Proper dependency injection (DI) and inversion of control (IoC) via constructor, including but not limited to type-safe arguments
- Components in the back stack are not destroyed, they continue working in background without UI
- Instances retaining (aka ViewModels) over configuration changes (mostly useful in Android)
- Lifecycle-aware components
- Shared navigation logic
Categories
FrameworksLicense
Apache License V2.0Follow Decompose Kotlin
Other Useful Business Software
AI-generated apps that pass security review
Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Decompose Kotlin!