Const
Custom React Hook that creates a ref callback and a state variable. The ref callback sets the state variable when the ref changes.
An object containing the ref callback and the current value of the ref.
Custom React Hook that creates a ref callback and a state variable. The ref callback sets the state variable when the ref changes.