Find by remember { … } delegations whose body isn't a mutableStateOf
Proprietaryby remember { … } pairs with a MutableState<T> so the property delegates its read/write through the snapshot system. If the remember { } body returns a plain T, the by does nothing useful — and is a strong hint the author forgot to wrap the value in mutableStateOf(...) or derivedStateOf { … }.
org. openrewrite. kotlin. compose. FindByRememberWithoutMutableState$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. compose. FindByRememberWithoutMutableState$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.