rememberWatch

fun <T : Any, V> FormScope<T>.rememberWatch(select: T.() -> V): V

Remembers a watch value that automatically updates when the form state changes.

Parameters

T

The type of the form value.

V

The type of the watch value.

select

The function to select the watch value.