component lifecycle

The stages every component instance goes through: it mounts, updates zero or more times as it re-renders, and finally unmounts.

In more detail

Effects are best thought of from their own point of view instead: each one starts synchronising and later stops, possibly many times during one component lifecycle. Hooks let a function component respond to each stage without separate lifecycle methods.

Related terms

Taught in

References