Skip to content

Commit a455a85

Browse files
committed
Fix typos in documentation files
1 parent f607d0c commit a455a85

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/01-app/01-getting-started/04-linking-and-navigating.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ However, disabling prefetching comes with trade-offs:
296296
- **Static routes** will only be fetched when the user clicks the link.
297297
- **Dynamic routes** will need to be rendered on the server first before the client can navigate to it.
298298
299-
To reduce resouce usage without fully disabling prefetch, you can prefetch only on hover. This limits prefetching to routes the user is more _likely_ to visit, rather all links in the viewport.
299+
To reduce resource usage without fully disabling prefetch, you can prefetch only on hover. This limits prefetching to routes the user is more _likely_ to visit, rather all links in the viewport.
300300
301301
```tsx filename="app/ui/hover-prefetch-link.tsx" switcher
302302
'use client'

docs/01-app/01-getting-started/08-server-and-client-components.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ export default function Page() {
507507
508508
### Preventing environment poisoning
509509

510-
JavaScript modules can be shared between both Server and Client Components modules. This means it's possible to accidentanlly import server-only code into the client. For example, consider the following function:
510+
JavaScript modules can be shared between both Server and Client Components modules. This means it's possible to accidentally import server-only code into the client. For example, consider the following function:
511511

512512
```ts filename="lib/data.ts" switcher
513513
export async function getData() {

docs/01-app/01-getting-started/10-caching-and-revalidating.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ See the [`fetch` API reference](/docs/app/api-reference/functions/fetch) to lear
6161

6262
`unstable_cache` allows you to cache the result of database queries and other async functions. To use it, wrap `unstable_cache` around the function. For example:
6363

64-
```tsx filename="app/lib/data.ts swichter
64+
```tsx filename="app/lib/data.ts switcher
6565
import { db } from '@/lib/db'
6666
export async function getUserById(id: string) {
6767
return db

0 commit comments

Comments
 (0)