React · Lesson 111 of 120
Project Review
What we built.
Let's look back at what we built, and which React ideas each part used.
- Look back
- Each part
- Each idea
Parts and ideas
The product list used effects, loading states, and derived filters. The cart used a reducer, context, and a custom hook. Saving used local storage. Checkout used controlled forms, validation, and async submit. And routing gave us pages and params.
| Part | React ideas |
|---|---|
| Product list | effects, derived filters |
| Cart | useReducer, context, useCart |
| Saving | localStorage, effect |
| Checkout | forms, validation, async |
| Pages | routes, params, layout |
Ideas to try next
Add a wishlist, with its own context. Add sorting to the product list. Write tests for the cart reducer. Or move the project to TypeScript, one file at a time.
| key | value |
|---|---|
| Feature | a wishlist |
| UI | sorting |
| Quality | reducer tests |
| Types | TypeScript |
Summary
You built a complete React shop. Next, a new section of cheat sheets, starting with components.
Key takeaways- A real app
- Every idea used
- Keep building
Next up: Cheat Sheet: Components — the essentials