Files
JJ KasperandGitHub abd5a8436f Add force-static handling for app dir (#43061)
Fixes: https://github.com/vercel/next.js/issues/42932
x-ref: [slack
thread](https://vercel.slack.com/archives/C03S8ED1DKM/p1668639343426429?thread_ts=1668631260.554489&cid=C03S8ED1DKM)

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
2022-11-18 09:47:44 -08:00

12 lines
241 B
JavaScript

// this should be dynamic as it doesn't specify force-static
// and the parent layout uses `headers()`
export default function Page() {
return (
<>
<p id="page">/force-static</p>
<p id="now">{Date.now()}</p>
</>
)
}