DEV Community

Discussion on: How to develop a Stopwatch in React JS with custom hook

 
abdulbasit313 profile image
Abdul Basit

in react we use useRef to get the dom element. Let say you want to find out scroll position and things like this.