useRef Explained
This an overview of useRef for those new to React and hooks and assumes a basic understanding of what the DOM is.
useRef is a hook that can be tricky to get to grips with since it’s one that you might only meet once in a blue moon. That’s by design.