Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
How does useRef differ from useState in terms of updating and re-rendering?
useRef
useState
useState updates cause re-renders, while useRef updates do not
useRef updates cause re-renders, whereas useState does not
useState holds primitive values only, while useRef holds complex objects
useRef only works with DOM elements, while useState does not
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!