Using `useRef()` to multiple elements in React JS
Hello everyone π
Today I'm going to show you how to ref multiple elements like
const cards = document.querySelectorAll('.card');
in React JS using useRef() hooks
Okay before wasting time too much, let's get right into the content
Imagine I've 3 <h1...
adics.hashnode.dev2 min read