next.js/test/e2e/app-dir/parallel-routes-and-interception/app/with-loading/foo/page.tsx
page.tsx8 lines299 B
// we want to verify that the loading behavior is triggered during Next build, so we opt out of static generation
export const dynamic = 'force-dynamic'

export default async function TestPage() {
  await new Promise((resolve) => setTimeout(resolve, 2000))
  return <div>Welcome to Foo Page</div>
}
Quest for Codev2.0.0
/
SIGN IN