A component describes a piece of UI. Props supply its inputs; children let callers supply nested content.
State remembers information that changes, such as whether a flashcard answer is visible. Update it through React’s state functions.
Derive simple totals and filtered lists from existing state. Effects are for synchronization with external systems.
Connect it to a real project
Build a flashcard app: render a card, reveal its answer, navigate between cards, save progress, and test the interactions.
Study one concept at a time. Explain its everyday example in your own words, predict the worked example’s result, then try a small change. Use practice and quiz feedback to decide what to revisit. You can spread a lesson across several study sessions.
Set up your environment Tools, setup steps, and completion requirements
Start with the ideas above, then set up the tools below. Return to the starter example whenever a new term feels unfamiliar.
text
node --version
npm --version
# Create a React project with the official guide and a supported build tool.
# In the project: npm install, npm run dev, npm run build.
# Component examples belong in .jsx or .tsx files.
# Use a DOM-aware test runner for interaction tests and commit your lockfile.
A free account saves your progress, notes, exercise evidence and spaced review cards. To complete a lesson, score at least 80% on its quiz, finish both exercises and the project checklist, and submit your project link with a reflection. Project evidence is self-reported; use the final portfolio rubrics to seek an independent code review.
Your React learning path
Work through these foundations in order, then bring them together in a project.