Course contentsShow
React
Lesson 703 of 2,39619. useRefPro lesson

Creating a Ref with useRef

Call useRef(initialValue) to create a ref object; the initial value is assigned to .current only once, on mount.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.