Lifecycle Phases
Concept Check Easy
Question
What are the three phases of a React component's lifecycle?
Hint
Think about when a component appears, changes, and disappears.
Explanation
The three lifecycle phases are: Mounting (component is created and added to the DOM), Updating (state or props change, causing re-render), and Unmounting (component is removed from the DOM). In function components, useEffect handles all three.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.