Wednesday, 1 February 2017

What is refs in ReactJS? When might you use refs?

The ref is used to return a reference to your element. Refs should be avoided in most cases but they can be useful when you need DOM measurements or to add methods to your components.

WHAT OTHERS ARE READING/RELATED TO THIS:

0 comments:

Post a Comment