mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Tests that unstable_instant configs placed at different positions across a parallel route fork correctly attribute errors to the blocking segment, with the cause pointing to the config that requires instant behavior. Includes both invalid cases that produce errors and valid cases that pass cleanly. Does not yet detect incompatible configurations like false on one slot alongside an instant config on a sibling — that will be handled in a followup.
11 lines
223 B
TypeScript
11 lines
223 B
TypeScript
import { cookies } from 'next/headers'
|
|
|
|
export default async function ChildrenPage() {
|
|
await cookies()
|
|
return (
|
|
<main>
|
|
<p>This is the children page that awaits cookies() without Suspense</p>
|
|
</main>
|
|
)
|
|
}
|