Skip to content

Commit e715f64

Browse files
committed
docs: Update nextjs install highlights
1 parent b1a8243 commit e715f64

File tree

4 files changed

+40
-41
lines changed

4 files changed

+40
-41
lines changed

docs/core/guides/ssr.md

+2
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ export default function RootLayout({ children }) {
3535
return (
3636
<html>
3737
<body>
38+
// highlight-next-line
3839
<DataProvider>
3940
<header>Title</header>
4041
<AsyncBoundary>{children}</AsyncBoundary>
4142
<footer></footer>
43+
// highlight-next-line
4244
</DataProvider>
4345
</body>
4446
</html>

docs/core/shared/_installation.mdx

+1-3
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ export default function RootLayout({ children }) {
8383
<body>
8484
// highlight-next-line
8585
<DataProvider>
86-
<header>Title</header>
87-
<AsyncBoundary>{children}</AsyncBoundary>
88-
<footer></footer>
86+
{children}
8987
// highlight-next-line
9088
</DataProvider>
9189
</body>

examples/nextjs/package-lock.json

+36-38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/nextjs/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@data-client/rest": "^0.12.0",
1515
"@data-client/ssr": "^0.12.0",
1616
"@js-temporal/polyfill": "^0.4.4",
17+
"@next/swc-wasm-nodejs": "^15.0.0-rc.0",
1718
"@types/node": "20.14.2",
1819
"@types/react": "18.3.3",
1920
"@types/react-dom": "18.3.0",

0 commit comments

Comments
 (0)