Files
next.js/test/e2e/app-dir/instant-validation-causes/app/named-export/page.tsx
Josh StoryandGitHub 1931877c29 Remove prefetch from instant config (#92761)
prefetching is now controlled with the prefetch export and this option
is inert on the instant export. this removes the prefetch option as a
valid property on the instant config type.

also updates the ts plugin for this export and adds the definition for
the previously landed prefetch export
2026-04-17 10:44:45 -07:00

10 lines
187 B
TypeScript

import { cookies } from 'next/headers'
const unstable_instant = true
export { unstable_instant }
export default async function Page() {
await cookies()
return <p>named export</p>
}