List some of the cases when you should use Refs.

Following are the cases when refs should be used:


1) When you need to manage focus, select text or media playback
2) To trigger imperative animations
3) Integrate with third-party DOM libraries

Comments