Establish the storefront shell first, then connect it to live product data. This keeps the learning flow focused: layout and shared UI come before cart state, useProducts is introduced before any screen needs live catalog data, and useProduct is created before product detail depends on it.
Overview
Syllabus
- Unit 1: Building Storefront Shell
- Observe the storefront shell
- Wrap the app in a shared shell
- Build navigation and page spacing
- Create reusable UI primitives
- Assemble the home page hero
- Unit 2: Building an API Client
- Observe the live catalog
- Define shared product types
- Create the product data layer
- Wire the shop and featured products
- Unit 3: Building Product Detail Hook
- Observe the product detail flow
- Implement the useProduct hook
- Add the dynamic product route
- Build the read-only detail page