oolong icon indicating copy to clipboard operation
oolong copied to clipboard

MVU for Kotlin Multiplatform

Oolong

Build Status Maven Central Sonatype Nexus (Snapshots) License Slack chat

Oolong is an Elm inspired Model-View-Update (MVU) implementation for Kotlin multiplatform. As the name implies, three core concepts comprise the foundation of this architecture:

  • Model - a type to represent the program state

  • View - a function to map the state to view properties

  • Update - a function to update the state

By applying this simple pattern you can create composable, testable programs that can run on any platform. Oolong enables a common codebase for all platforms by using a render function which is implemented by each frontend.

Documentation

Get started with Oolong by reading the official guide.

Download

dependencies {
    implementation("org.oolong-kt:oolong:2.1.1")
}