MCPcopy
hub / github.com/callstack/react-native-testing-library / rerender

Function rerender

src/render.tsx:58–62  ·  view source on GitHub ↗
(component: React.ReactElement)

Source from the content-addressed store, hash-verified

56 const container = renderer.container;
57
58 const rerender = async (component: React.ReactElement) => {
59 await act(() => {
60 renderer.render(wrap(component));
61 });
62 };
63
64 const unmount = async () => {
65 await act(() => {

Callers 5

input.tsxFile · 0.85
expected.tsxFile · 0.85
input.tsxFile · 0.85
expected.tsxFile · 0.85

Calls 3

actFunction · 0.90
wrapFunction · 0.85
renderMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…