Skip to content

Commit 300b104

Browse files
authored
Apply suggestions from code review
1 parent d6e61c0 commit 300b104

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

articles/static-web-apps/deploy-nextjs-hybrid.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ To add server-rendered data in your Next.js project using the App Router, edit a
149149
}
150150
```
151151
152-
>[!NOTE]
153-
>This example forces dynamic rendering of this component to demonstrate server-rendering of the server's current time. The App Router model of Next.js recommends caching individual data requests to optimize the performance of your Next.js app. Read more on [data fetching and caching in Next.js](https://nextjs.org/docs/app/building-your-application/data-fetching/fetching-caching-and-revalidating).
152+
>[!NOTE]
153+
>This example forces dynamic rendering of this component to demonstrate server-rendering of the server's current time. The App Router model of Next.js recommends caching individual data requests to optimize the performance of your Next.js app. Read more on [data fetching and caching in Next.js](https://nextjs.org/docs/app/building-your-application/data-fetching/fetching-caching-and-revalidating).
154154
155155
1. Update the `Home` component in _app/pages.tsx_ to render the server-side data.
156156
@@ -251,7 +251,7 @@ This Client Component fetches the API with a `useEffect` React hook to render th
251251
252252
1. The result from the API route is displayed on the page.
253253
254-
:::image type="content" source="media/deploy-nextjs/nextjs-13-home-display.png" alt-text="Display the output from the API route":::
254+
:::image type="content" source="media/deploy-nextjs/nextjs-13-home-display.png" alt-text="Screenshot showing the display the output from the API route.":::
255255
256256
257257
## Configure the runtime version for Next.js

articles/static-web-apps/nextjs.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ ms.custom: devx-track-js
1414

1515
Next.js support on Azure Static Web Apps can be categorized as two deployment models:
1616

17-
1. **Hybrid**: Hybrid Next.js sites, which includes support for all Next.js features such as the [App Router](https://nextjs.org/docs/app), the [Pages Router](https://nextjs.org/docs/pages) and [React Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components)
17+
- **Hybrid**: Hybrid Next.js sites, which includes support for all Next.js features such as the [App Router](https://nextjs.org/docs/app), the [Pages Router](https://nextjs.org/docs/pages) and [React Server Components](https://nextjs.org/docs/app/building-your-application/rendering/server-components)
18+
19+
20+
- **Static**: Static Next.js sites, which use the [Static HTML Export](https://nextjs.org/docs/advanced-features/static-html-export) option of Next.js.
1821

19-
1. **Static**: Static Next.js sites, which use the [Static HTML Export](https://nextjs.org/docs/advanced-features/static-html-export) option of Next.js.
2022

2123

2224
## Hybrid Next.js applications (preview)

0 commit comments

Comments
 (0)