Chapter 9 · Example 9 · Refs: from storing data to imperative API
Imperative API by mutating the ref
Assigning the focus and shake API object directly to apiRef.current inside useEffect reproduces useImperativeHandle without the hook.
Loading live editor…