rememberWatch

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

Deprecated

Please migrate to the new form implementation. This legacy code will be removed in a future version.

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.