ESSENTIAL JETPACK COMPOSE

CHEAT SHEET

Compose fundamentals at a glance | State, recomposition & side effects | Layouts & Material | PDF

Need a no-fluff reference for Compose?

This cheat sheet will give you a practical reference for Compose essentials—what triggers recomposition, how to manage state, when to use side effects, and the key building blocks.

Yes, I need it!

Here's what you'll find inside:

  • Composable functions anatomy — how to design reusable components (parameters, Modifier, slot APIs).

  • State & recomposition (no magic) — what actually triggers recomposition and how to keep it under control.

  • Stable vs unstable state — simple rules for when Compose can optimize, and when it has to do extra work.

  • State hoisting in practice — local vs parent vs ViewModel state + when to use remember, rememberSaveable, and retained state.

  • Delayed state reads — avoid “recompose on every pixel” patterns (the lambda-based approach).

  • Side effects — LaunchedEffect, DisposableEffect, SideEffect: when to use each and what to avoid.

  • Core building blocks — essential layouts and Material components (Column/Row/Box/Scaffold, Lazy*, and more).

Here's what you'll find inside:

Components & UI building blocks


  • Composable functions anatomy — reusable components (parameters, Modifier, slot APIs).

  • Core building blocks — essential layouts & Material (Column/Row/Box/Scaffold, lazy lists & grids).



State & recomposition


  • State & recomposition (no magic) — what triggers recomposition and how to control it.

  • Stable vs unstable state — simple rules for when Compose can optimize vs when it can’t.

  • State hoisting in practice — local vs parent vs ViewModel + remember / rememberSaveable / retained state.


Effects & performance patterns


  • Delayed state reads — avoid “recompose on every pixel” patterns (lambda-based approach).

  • Side effects — LaunchedEffect, DisposableEffect, SideEffect: when to use each and what to avoid


Built by Experts

Marcin Moskała

Marcin Moskała is a JetBrains Certified Kotlin Trainer and a leading Kotlin Coroutines expert. He’s the author of Kotlin Coroutines: Deep Dive and is known for explaining complex topics in a clear, practical way.

Jov Mit

Jov Mit is a lead Android developer and mentor specializing in Jetpack Compose, clean code, and TDD. He’s known for teaching Compose through practical, production-ready patterns you can apply immediately.

We’ll email you the PDF

Visit our X profile
Visit our LinkedIn profile