What is the use of refs? Technology Community › Category: React › What is the use of refs? 0 Vote Up Vote Down VietMX Staff asked 4 years ago The ref is used to return a reference to the element. They should be avoided in most cases, however, they can be useful when we need direct access to DOM element or an instance of a component.