B4Coder
0%
LessonAbout 7 min

Chapter 11 · Lesson 2 of 5

02. useImperativeHandle: a component's own methods

Let a parent call methods on a child component, like focus() and clear(), with a ref prop and useImperativeHandle.

Opening the lesson…