
Compose Stability Contracts, Strong Skipping Mode, and Non-Restartable Functions
--- title : " Compose Stability Contracts and Strong Skipping Mode: The Recomposition Model Senior Devs Get Wrong" published : true description : " How Compose compiler stability, strong skipping mode, and non-restartable functions actually work at the IR level, with metrics and profiling examples." tags : kotlin, android, architecture, performance canonical_url : https://blog.mvpfactory.co/compose-stability-strong-skipping-mode-recomposition-model --- ## What You Will Learn Let me show you a pattern I use in every project — and more importantly, the pattern I've *stopped* using. By the end of this tutorial, you will understand how the Compose compiler assigns stability to types, why strong skipping mode (default since Compose Compiler 2.0) makes most `@Stable` / `@Immutable` annotations dead weight, what `@NonRestartableComposable` and `@NonSkippableComposable` actually do at the IR level, and how to read compiler metrics to find real recomposition bottlenecks. One correct fix at the
Continue reading on Dev.to Webdev
Opens in a new tab

