useRef Hook In React
In React JS, we can use useRef Hook in function component for the REF purpose which we did in the class component.
REFS In React JS
In React JS, Ref is an attribute which makes it possible to store a reference to particular DOM nodes or React elements.