Find remember { mutableListOf<T>() } patterns
Proprietaryremember { mutableListOf<T>() } survives recomposition but mutations to the list are invisible to Compose — adding an item won't trigger a re-render of any consumer that reads the list. Use remember { mutableStateListOf<T>() } (or hoist to mutableStateListOf<T>() at file scope) so writes register as snapshot writes.
org. openrewrite. kotlin. compose. FindRememberMutableListOfWithoutMutableState$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. compose. FindRememberMutableListOfWithoutMutableState$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.