useRef

How does the useRef hook handle changes to the referenced DOM element?