mount

Inserting a component's elements into the live page; unmounting removes them again.

In more detail

Frameworks call this step mounting; in plain DOM code it is simply inserting a component's root element. Whatever a component sets up when it mounts, such as observers, listeners and timers, should be torn down when it unmounts, or those references keep memory alive.

Related terms

Taught in

References