Decompose is a Kotlin Multiplatform library for breaking down your code into tree-structured lifecycle-aware business logic components (aka BLoC), with routing functionality and pluggable UI (Jetpack/Multiplatform Compose, Android Views, SwiftUI, Kotlin/React, etc.).

Features

  • Better separation of concerns
  • 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
  • Shared navigation logic
  • Lifecycle-aware components
  • Components in the back stack are not destroyed, they continue working in background without UI

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow Decompose

Decompose Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Decompose!

Additional Project Details

Operating Systems

Android

Programming Language

Kotlin

Related Categories

Kotlin Libraries

Registered

2024-01-26