React·Beginner·Conceptual·1 min read
What React hook is commonly used to read an uncontrolled input's value only when needed, without subscribing to every change?
Short interview answer
useRef — it creates a persistent reference to the DOM node whose .value can be read on demand, such as inside a submit handler, without causing any re-render when the underlying DOM value changes.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.