Sikau

Learn Project: The café front end

Build the café front end in React, then grow it into a Next.js app.

A combined module for after React and Next.js: components with props and state, a cart with useReducer and context, a race-free data hook, then dynamic routes, server-rendered pages, URL filters and client islands — all in one place.

Intermediate · 5 lessons · about 3 hours · free

Start Project: The café front end free: run real code in your browserright here

Continue with Google

What you will learn

Unit 1: The café front end

Build it in React, then grow it into a Next.js app.

  1. Day 1Components and propsA DishCard component, a list with keys and a veg filter in state.35 min
  2. Day 2A cart with useReducer and contextPure reducer for cart updates, shared with any component through context.40 min
  3. Day 3Loading data with effectsA custom hook with loading, error and ready states — and no race conditions.40 min
  4. Day 4Dish pages in Next.jsA dynamic route, server data, generateMetadata, notFound and a client island.40 min
  5. Day 5Final: the menu appA server-rendered menu with filters in the URL, links to dish pages and cart islands.50 min

Before you start

These courses make Project: The café front end easier:

See all courses

Built with ❤️ by dibe.sh