React Series: useRef Hook
If you want to update the value of an element in your component or access any DOM elements, then the useRef() hook is your go-to. When updating state using useState, the component re-renders every time the state is accessed but using useRef, you can ...
oluwatrillions.hashnode.dev5 min read