React
Fundamentals of React - Forms & Ajax Calls

Autofocus with useRef

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 
PRO

Let's take a look at how to use the useRef hook to autofocus your input field.

 

I finished! On to the next chapter