Unverified Commit 2f1fb34c authored by Joseph's avatar Joseph Committed by GitHub

docs: highlight route prop helpers type safety

parent 631dd719
...@@ -325,7 +325,7 @@ export default async function Post({ post }) { ...@@ -325,7 +325,7 @@ export default async function Post({ post }) {
> **Good to know**: `<Link>` is the primary way to navigate between routes in Next.js. You can also use the [`useRouter` hook](/docs/app/api-reference/functions/use-router) for more advanced navigation. > **Good to know**: `<Link>` is the primary way to navigate between routes in Next.js. You can also use the [`useRouter` hook](/docs/app/api-reference/functions/use-router) for more advanced navigation.
## Route Props Helpers ## Type Safety with Route Props Helpers
Next.js exposes utility types that infer `params` and named slots from your route structure: Next.js exposes utility types that infer `params` and named slots from your route structure:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment