Files
Hendrik LiebauandGitHub 958b9669fb Add test fixtures demonstrating export statement validation bugs (#75277)
The issues with the current export statement validation for app router
pages are documented in the added fixtures, see also the inline comments
in the diff.
2025-01-24 17:24:02 +01:00

12 lines
172 B
JavaScript

const v = 'world'
async function fn() {
'use cache'
return 'hello, ' + v
}
export async function Component() {
const data = await fn()
return <div>{data}</div>
}