mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This API has experimental modes for build validation but the dev validation is going to be stable in the next release.
14 lines
252 B
TypeScript
14 lines
252 B
TypeScript
export const instant = true
|
|
|
|
export default async function Layout({ children }) {
|
|
return (
|
|
<div>
|
|
<p>
|
|
This is a layout with <code>{`instant = { prefetch: 'static' }`}</code>.
|
|
</p>
|
|
<hr />
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|