Demystifying useRef hook.
Before diving into useRef() hook, we should first understand what refs are. As per the definition from ReactJS official docs Refs provide a way to access DOM nodes or React elements created in the render method. Let’s look at what react docs meant ...
Apr 13, 20223 min read104
