Files
next.js/test/e2e/app-dir/instant-validation-causes/app/reexport/page.tsx
Sebastian "Sebbie" SilbermannandGitHub 19dcd1339f [instant] Handle more instant declaration patterns (#90251)
Adds handling for 


```tsx
export { unstable_instant } from './config'
       ^
```
```tsx
const unstable_instant = ...
                         ^
export { unstable_instant }
```
```tsx
const instant = ...
                ^
export { instant as unstable_instant }
```
We're not following assignments recursively and stop at the first declaration:
```tsx
const _instant = ...
const instant = _instant
                ^
export { instant as unstable_instant }
```
2026-02-20 14:19:54 -08:00

9 lines
169 B
TypeScript

import { cookies } from 'next/headers'
export { unstable_instant } from './config'
export default async function Page() {
await cookies()
return <p>reexport</p>
}