DEV Community

Discussion on: Difference Between useState and useRef in React

jwhenry3 profile image
Justin Henry

Thank you for the addition of the use case that does not include dom elements. That is one that is often skipped, and you never fully realize how useful it is until you think outside the box with useRef.

aoussiadmehdi profile image
Mehdi Aoussiad Author

Thank you too !