mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Building on Partial Fallback Prerendering (#68958), this expands the behaviour after a fallback shell is served. Once a fallback is served, the route shell is then generated. Future requests will then use this new route shell instead.
12 lines
201 B
React
12 lines
201 B
React
import { Layout } from '../components/layout'
|
|
|
|
export default function RootLayout({ children }) {
|
|
return (
|
|
<html>
|
|
<body>
|
|
<Layout>{children}</Layout>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|