What exactly is the `useRef` hook in React?
May 12, 2022 · 4 min read · A hook is a function that enables you to use state and other React features inside functional components. useRef is a type of React hook which accepts a single argument and returns an object. Unlike useState, useRef does not trigger rerender. import ...
Join discussion

