next.js/test/e2e/app-dir/static-shell-debugging/app/page.jsx
page.jsx18 lines310 B
import { unstable_noStore } from 'next/cache'
import { Suspense } from 'react'

function Dynamic() {
  unstable_noStore()
  return <div>Dynamic</div>
}

export default function Page() {
  return (
    <div>
      <Suspense fallback={<div>Fallback</div>}>
        <Dynamic />
      </Suspense>
    </div>
  )
}
Quest for Codev2.0.0
/
SIGN IN