mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Using a build error instead of a runtime error allows us to fail early, and show a proper error source in the terminal and in the dev overlay. <img width="777" alt="Screenshot 2024-11-13 at 22 19 45" src="https://github.com/user-attachments/assets/d0ee3c69-71f5-4aa6-8c0a-879217f66930">
6 lines
87 B
JavaScript
6 lines
87 B
JavaScript
export default async function Page() {
|
|
'use cache: x'
|
|
|
|
return <p>hello world</p>
|
|
}
|