~/talk

Decompose your Kotlin Multiplatform project into feature modules

Talkat droidcon London 2022 · 2022-10-27..10-28· [kotlin, frontend-architecture]
speakerdeck:arkivanov
slides:none on file

A concrete recipe for splitting a Kotlin Multiplatform app into lifecycle-aware feature modules using the Decompose library and a tree of parent/child scopes, with runnable samples (a multiplatform to‑do app and navigation demo). Navigation uses a transformer on a stack of parcelable configurations, components receive a component context for lifecycle, state and back handling, and UI plugs in via Compose/SwiftUI/React. Claim: smaller modules, fewer merge conflicts, faster parallel builds, and tests run as plain unit/integration tests.

AI-written summary · about

  1. 0:00Introduction
  2. 1:35Problems with monolithic modules
  3. 4:22Thinking in scopes approach
  4. 8:16Requirements for implementation
  5. 9:06T-Compose library overview
  6. 11:12Core concepts of Decompose
  7. 13:43Managing child components
  8. 14:48Stack navigation explained
  9. 17:58Initializing child stack
  10. 19:23Other navigation models
  11. 20:05UI integration with components
  12. 21:48Summary and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.