TechnologyThe BestieBeginner
Building with Next.js, a free technology course on Tomo

Building with Next.js

Transform your React skills into production-grade full-stack web applications. Learn how Next.js handles routing, server rendering, streaming, and data mutations without complex backend setups.

Like Duolingo, but for Building with Next.js. Tomo turns the whole topic into a game you play five minutes a day, until it actually sticks.

A short one: 12 levels across 2 sections, about 24 minutes end to end, roughly 5 days at five minutes a day. It moves through Constructing Pages and Navigation and Streaming Data and Managing State. It starts from scratch.

12 bite-size levelsAbout 5 minutes each

Free forever · No credit card · iPhone & Android

Nico the Narwhal, the guide who teaches the Building with Next.js course
Building with Next.js
with Nico the Narwhal
12
Levels
2
Sections
5
Min/day
What you'll learn

Key ideas in Building with Next.js

  • In Next.js, creating a folder inside app sets up the URL segment
  • A page.js file inside a folder is required to make that route publicly visitable
  • Folders without a page.js file do not render a page
  • A layout.js wraps around page.js views inside its directory
  • When switching between sibling pages, Next.js keeps the layout mounted instead of re-rendering it
  • Wrapping a folder name in square brackets like [id] turns it into a dynamic segment in Next.js
  • The value in the URL matches the bracketed name and gets passed directly to the page component
  • The root layout wraps all pages across the entire Next.js application
  • Subdirectory layouts nest inside parent layouts as the folder path goes deeper
  • The specific page.js renders as the innermost child
  • The Next.js Link component automatically downloads the target page code in the background when the link appears on screen
  • Client-side navigation swaps the UI in place without triggering a full browser refresh
  • Next.js renders components on the server by default
  • The browser only receives pre-rendered HTML instead of component JavaScript
  • Keeping default components on the server makes the client bundle smaller and faster
  • Server Components can be declared with async and use await directly in the component body
Why not just Google it

You've tried the other tabs

Wikipedia

Thirty open tabs. Four facts you actually kept.

YouTube

You watched. You nodded. By Sunday it was gone.

ChatGPT

One answer, then back to scrolling.

Online courses

Eight weeks. You meant to finish. You didn't.

Tomo gives Building with Next.js the Duolingo treatment: levels, streaks, and quick quizzes that test what you just learned. That game loop is what the tabs above never had, so it's the one you actually finish.

Try a question

Here's what playing it feels like

A real question from this course. Take your best guess.

Mapping Folders to Web Addresses

What file must you put inside a folder to make its route publicly visitable?

Get it right to open this lesson and 11 more in the app.

Course map

Where Building with Next.js takes you

  1. 1

    Constructing Pages and Navigation

    • Routing with the File System
    • Splitting Server and Client Work
  2. 2

    Streaming Data and Managing State

    • Streaming Content and Catching Errors
    • Mutating Data with Server Actions

2 sections · 4 units · 12 levels. Built to play, not to enroll.

How it's taught

You pick the voice

This course
The Bestie

Building with Next.js is taught in the The Bestie style: your friend who just gets it. Want a different feel? In the app you can spin up the same topic in any of Tomo's teaching styles. Same facts, totally different vibe.

Keep going

More Technology on Tomo

Start free

Start Building with Next.js today.

Download Tomo, search Building with Next.js, and play your first lesson in under a minute.