rememberConfigState

fun <T : ERROR CLASS: Symbol not found for Message<T, *>> rememberConfigState(initialValue: T): ConfigState<T>(source)

Creates and remembers a ConfigState instance, correctly handling process death and recomposition. When the initialValue changes, the config state will be reset.

Parameters

initialValue

The initial value to populate the config with. The config will be reset if this value changes across recompositions.