State and reactivity
Refs
Non-reactive mutable values that persist across renders.
A RefValue[T] holds a value that survives re-renders but does not trigger
one when mutated. Use it for timers, scratch counters, or cached handles to
resources that the UI does not need to observe.
API
Like State, Ref keys the value on its call site.
Example
Because RefValue does not schedule re-renders, it is the right choice for
values that should be preserved but should not cause the view to rebuild.