Skip to content

Glossary: React Basics

Mount / unmount

Also written: mounts, unmounts, mounted

A component mounts when React first adds it to the page and unmounts when React removes it. Effects start on mount and their cleanup runs on unmount.

Where the book teaches it

Related terms

useEffectCleanup functionStrictMode