630bf80a22
Fixes #35449 Include the shared components (from source code) is in client bundles, previously we lost them so that the client components imported by them are lost in module graph * let flight server loader apply to all pages and imported modules (except node_modules at the moment) * if it's a shared component from source code, include it in client bundle * ignore handling node_modules at the moment (due to the limitation support of esm imports with RSC) ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [x] Errors have helpful link attached, see `contributing.md`
23 lines
460 B
JavaScript
23 lines
460 B
JavaScript
import Link from 'next/link'
|
|
|
|
export default function Nav() {
|
|
return (
|
|
<>
|
|
<div>
|
|
<Link href={'/next-api/link'}>
|
|
<a id="goto-next-link">next link</a>
|
|
</Link>
|
|
</div>
|
|
<div>
|
|
<Link href={'/streaming-rsc'}>
|
|
<a id="goto-streaming-rsc">streaming rsc</a>
|
|
</Link>
|
|
</div>
|
|
<div>
|
|
<Link href={'/'}>
|
|
<a id="goto-home">home</a>
|
|
</Link>
|
|
</div>
|
|
</>
|
|
)
|
|
}
|