MCPcopy Create free account
hub / github.com/testing-library/react-hooks-testing-library / rerender

Function rerender

src/native/pure.ts:21–25  ·  view source on GitHub ↗
(props?: TProps)

Source from the content-addressed store, hash-verified

19 })
20 },
21 rerender(props?: TProps) {
22 act(() => {
23 container.update(testHarness(props))
24 })
25 },
26 unmount() {
27 act(() => {
28 container.unmount()

Callers

nothing calls this directly

Calls 1

testHarnessFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…