Find LaunchedEffect(true) { … } blocks

Proprietary

LaunchedEffect(true) (or any literal true/false key) is a one-shot effect dressed up to look like it has a key. It is structurally identical to LaunchedEffect(Unit) but reads as if the author meant to pass a variable. Switch to Unit for clarity or pass the real dependency.

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