19.What is the use of refs? Posted on March 27, 2019 by admin 0 The ref is used to return a reference to the element. They should be avoided in most cases, however, they can be useful when you need a direct access to the DOM element or an instance of a component. Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Website