user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

24. What do React refs do?

user image

Abhishek Mishra

2 years ago

Refs are a function provided by React to access the DOM element and the React element that you might have created on your own. They are used in cases where we want to change the value of a child component, without making use of props and all.

Recent Doubts

Close [x]