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.

Related questions

0 votes
asked Dec 22, 2023 in ReactJS by john ganales
0 votes
asked Nov 4, 2023 in ReactJS by AdilsonLima
0 votes
asked Jul 2, 2019 in ReactJS by Venkatshastri
...