Put in order · Vibe coding with Claude Code course · Module 2: A Next.js project with Claude Code

Ordering: Fast Refresh in practice

Arrange the steps after which you see Claude's change in the browser without a refresh:

Items to put in order

  • The browser shows the new heading by itself
  • You run npm run dev in a second terminal
  • Claude changes the heading in app/page.tsx
  • You open localhost:3000 in the browser
Show the answer

Correct order:

  1. You run npm run dev in a second terminal
  2. You open localhost:3000 in the browser
  3. Claude changes the heading in app/page.tsx
  4. The browser shows the new heading by itself