({renderCallbackProps})
| 333 | const result = React.createRef() |
| 334 | |
| 335 | function TestComponent({renderCallbackProps}) { |
| 336 | const pendingResult = renderCallback(renderCallbackProps) |
| 337 | |
| 338 | React.useEffect(() => { |
| 339 | result.current = pendingResult |
| 340 | }) |
| 341 | |
| 342 | return null |
| 343 | } |
| 344 | |
| 345 | const {rerender: baseRerender, unmount} = render( |
| 346 | <TestComponent renderCallbackProps={initialProps} />, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…