{"repo":"skydoves/compose-stable-marker","free":true,"listed":false,"github":"https://github.com/skydoves/compose-stable-marker","clone":"git clone https://github.com/skydoves/compose-stable-marker.git","description":"✒️ Compose stable markers for KMP to tell stable/immutable guarantees to the compose compiler.","language":"Kotlin","stars":267,"topics":["android","compose","jetpack-compose","kotlin","skydoves"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Compose Stable Marker ✒️ Compose stable markers were originated Compose runtime, which improves Compose performance by telling stable and skippable guarantees to the compose compiler from non-compose dependent modules. This library supports Kotlin Multiplatform. Agenda This library contains a few extracted Compose stable markers, such as Stable, Immutable, and StableMarker, which are used to communicate some guarantees to the compose compiler and mark class as producing immutable instances. You can utilize this library when you want to mark your properties/classes/functions with Stable or Immutable , which are from compose-runtime in your pure Kotlin module or non-compose dependent modules. So if you don't want to depend on the compose-runtime library, but you still want to improve your Compose performance by marking your models as stable in multiple module structure, you can use this library. If you want to learn more about Skippable , Stable , and Immutable , check out 6 Jetpack Compose Guidelines to Optimize Your App Performance and Composable metrics by Chris Banes. 💡 Note : The Jetpack Compose team announced the official compose-runtime-annotation library. For more information, read Mark your models as stable with the Compose runtime annotation library. Download Gradle Add the compileOnly dependency below to your module 's build.gradle.kts file: For Kotlin Multiplatform, add the compileOnly dependency below to your module 's build.gradle.kts file: Stable These hold data","default_branch":null,"files":null,"tree":[],"storefront":"/r/skydoves","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/skydoves/compose-stable-marker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}