Q. Which method updates the DOM directly?
Solution:
useRef().current allows direct DOM manipulation.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
useRef().current allows direct DOM manipulation.
Strengthen Your Practice with our comprehensive question bank.