mount

When React creates a component for the first time and adds its DOM nodes to the page.

In more detail

Effects run their setup after mount. Changing a key or element type causes a remount: the old instance is unmounted and a brand-new one with initial state is mounted. In development, Strict Mode deliberately mounts, unmounts and remounts components to test cleanup.

Related terms

Taught in

References