ObjectRef<T> constructor

ObjectRef<T>(
  1. T value
)

Stores a single value.

This constructor is typically called by useRef.

Implementation

ObjectRef(this.value);