Chapter 9 · Example 3 · Refs: from storing data to imperative API
Ref value not seen by children
A ref value passed as the search prop never reaches the child component, since the ref update triggers no re-render to propagate the new value down.
Loading live editor…