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.
Get started with Oolong by reading the official guide.
dependencies {
implementation("org.oolong-kt:oolong:2.1.1")
}