Find remember { mutableStateOf(emptyList/Map()) } candidates for snapshot-aware containers
ProprietaryPatterns like remember { mutableStateOf(emptyList()) } box the collection in a MutableState — direct add/put calls bypass the snapshot system. mutableStateListOf<T>() / mutableStateMapOf<K, V>() are snapshot-aware containers whose mutations register as snapshot writes and notify readers.
org. openrewrite. kotlin. compose. UseSpecializedComposeStateContainers$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. compose. UseSpecializedComposeStateContainers$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.