()
| 588 | } |
| 589 | |
| 590 | function Parent() { |
| 591 | const childStates = useBoundStore((s) => s.childItems) |
| 592 | return ( |
| 593 | <> |
| 594 | <button onClick={changeState}>change state</button> |
| 595 | {Object.keys(childStates).map((id) => ( |
| 596 | <Child id={id} key={id} /> |
| 597 | ))} |
| 598 | </> |
| 599 | ) |
| 600 | } |
| 601 | |
| 602 | render( |
| 603 | <StrictMode> |
nothing calls this directly
no test coverage detected
searching dependent graphs…