mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
When we run the RSC validation transform, we might take multiple passes on the same file if the edge runtime is used: once at the RSC layer, another in the edge RSC layer. This means we'll have reported the error twice for the same file. This dedupes errors by tracking the seen, formatted errors and not re-showing them if they've already been tracked.
6 lines
126 B
TypeScript
6 lines
126 B
TypeScript
export const revalidate = 1
|
|
|
|
export default function Page() {
|
|
return <div>This page uses `export const revalidate`.</div>
|
|
}
|