RefHook<T> constructor

RefHook<T>([
  1. T? initialValue
])

Create a ref hook

Implementation

RefHook([T? initialValue]) : ref = RefObject<T>(initialValue);