useRefValue

inline fun <T : Any> useRefValue(): RefValueInstance<T?>(source)
inline fun <T : Any> useRefValue(initialValue: T): RefValueInstance<T>(source)

Only works inside fc

See also