0 votes
in ReactJS by
What is REFS in React

1 Answer

0 votes
by

Ref is a reference to the element. It should be avoided in most cases. However, sometimes it is used when you need to access DOM or instance of the component directly.

...