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

Reading and Writing ref.current

Access ref.current to read the value; assign to ref.current to update it—no setter function needed.

This lesson is for subscribers

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