Initializes a ref with the provided value and keeps it up to date.
The type of the value.
The initial value.
Initializes a ref with the provided value and keeps it up to date.