Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
697 B
697 B
remember / State
remember is a Compose function that retains a value across recompositions within a composable. Combined with mutableStateOf, it creates a state holder that triggers recomposition when its value changes. Local state managed with remember is suitable for UI-only state that does not need to survive configuration changes.
Visit the following resources to learn more: