useRef Hook as mutable ref object.

React official documentation (https://reactjs.org/docs/hooks-reference.html#useref) define useRef as:
The useRef Hook is a function that returns a mutable ref object whose .current property is…
Source: Codementor