Web · Advanced
React
Build the screens of a real shop with React: components and props, state and events, then a full app with a cart.
- 3 levels
- 41 hands-on classes
- 3 level exams
- about 7 h
What you'll be able to doBuild the screens of a real shop in React: components and props, state and events, shared state, pages, forms, speed and tests.
0%Not started
Level 1 · 12 classes and an exam
0/13Components and props
Build pages from small parts that take data.
- Class 1Your first componentYou are here
- Class 2Values in curly braces
- Class 3A component of your own
- Class 4Props: data for a component
- Class 5Several props and a default
- Class 6A list from an array
- Class 7Keys that follow the item
- Class 8Show it only when it applies
- Class 9&& and ? : inside JSX
- Class 10children: a box for any content
- Class 11A page from parts
- Class 12className and style
- Level exam · 3 questionsLevel 1 project: the product grid
Level 2 · 14 classes and an exam
0/15State and events
Make pages that answer clicks and typing, and load data.
Pass the level 1 exam to open this level.
- Class 13State: a value that changes
- Class 14Plus and minus, with a floor
- Class 15Typing into a box
- Class 16Show and hide
- Class 17Send a form
- Class 18Add to a list in state
- Class 19Remove and tick items
- Class 20An object in state
- Class 21Lifting state up
- Class 22Work it out, don't store it
- Class 23useEffect: change the page outside React
- Class 24Clean up after an effect
- Class 25Load data: loading, error and empty
- Class 26Your own hook
- Level exam · 3 questionsLevel 2 project: the team's task list
Level 3 · 15 classes and an exam
0/16A real app
Share state across a page, move between pages, check forms, keep it fast, accessible and tested.
Pass the level 2 exam to open this level.
- Class 27Context: a value for the whole pagePlus · Ultra
- Class 28A cart the whole page can usePlus · Ultra
- Class 29Start fresh with a keyPlus · Ultra
- Class 30All the cart rules in one placePlus · Ultra
- Class 31Connect the reducer to the pagePlus · Ultra
- Class 32Pages without a reloadPlus · Ultra
- Class 33A page for each productPlus · Ultra
- Class 34Check the form before it is sentPlus · Ultra
- Class 35Take the customer to the first mistakePlus · Ultra
- Class 36One broken part, not a blank pagePlus · Ultra
- Class 37Buttons a screen reader can namePlus · Ultra
- Class 38Say it out loud: status messagesPlus · Ultra
- Class 39Skip drawing what did not changePlus · Ultra
- Class 40Keep slow work and handlers between drawsPlus · Ultra
- Class 41Test a componentPlus · Ultra
- Level exam · 3 questionsLevel 3 project: the shop with a cartPlus · Ultra

