Dynamic routes
A file at src/app/examples/items/[id]/page.tsx matches /examples/items/ and threads id into the page's params. Each link below renders the same page with a different param.
Try it
- /examples/items/cherry
- /examples/items/banana
- /examples/items/kiwi
- /examples/items/mango
- /examples/items/missing-fruit — the loader throws a 404 Response.