What Is useRef? useRef is a react hook that is basically used to store the reference of something like let's say a DOM element. It takes a single argument as initial value and returns an object with a single property called current. This current hold...

Markdown supported · ⌘↵ to post
Srishti Maurya
Software Engineer
Well explained concept in simple words, along with amazing relatable example. Would save it for future references too.