This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use inputRef.current.select() to highlight all text in an input, common for copy-friendly interactions.
You've completed the free preview. Subscribe to unlock every lesson in every course.