Test Renderer: testRenderer.update()

Re-render the in-memory tree with a new root element. This simulates a React update at the root. If the new element has the same type and key as the previous element, the tree will be updated; otherwise, it will re-mount a new tree.

Related concepts

testRenderer.update()

Test Renderer: testRenderer.update() — Structure map

Clickable & Draggable!

Test Renderer: testRenderer.update() — Related pages: