Find Compose remember key issues

Proprietary

remember { … } calls where the keys do not align with the values the block reads — keyless remember that captures changing variables, and remember { mutableStateOf(call()) } candidates for derivedStateOf.

org.openrewrite.kotlin.compose.FindComposeRememberIssues$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.compose.FindComposeRememberIssues$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.

  1. Find remember { … } calls with no keys