June 21, 2020
What is the use of refs?
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.
June 21, 2020, 20:35
0 views
0 reactions
0 reposts