Files
next.js/test/e2e/app-dir/rsc-basic/app/reexport-named/client.js
Jiachi LiuandGitHub 62e8c9dd45 test: add name re-export from client components as page case (#66760)
### What

Add new test case where a named export from client component is being
exported as page

### Why

We found this case while investigating the errors triggered introduced
by #66286 , adding this test to avoid future regression
2024-06-11 18:42:10 +00:00

10 lines
132 B
JavaScript

'use client'
export function PageComponent() {
return (
<div>
<h1 id="client-title">Client Title</h1>
</div>
)
}