Understand static and dynamic Page Routing in Next.js

Xiaoru Li
InstructorXiaoru Li

Share this video with your friends

Send Tweet

Next.js uses a file-system based router, meaning that it treats single-file components in the /pages/ directory as pages. In this lesson, we will set up multiple pages and use next/link to navigate across different routes, and see how to create dynamic routes, and parse URL query strings.

We will be using TypeScript, but for this specific lesson, no changes need to be made if you are using JavaScript.