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.
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.