remount

Removing a component from the page and creating it again from scratch, which resets its state and re-runs its effects.

In more detail

Layouts are not remounted when you navigate within them; templates are. Changing a component's key also forces React to remount it.

Related terms

Taught in

References