mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Just adding some test coverage - Turbopack: module are only evaluated when the given module is actually rendered - Webpack: all client component modules are evaluated when at least one client reference renders
12 lines
198 B
TypeScript
12 lines
198 B
TypeScript
import '../client-sideeffect-only'
|
|
import { Component } from '../client-sideeffect-reexport'
|
|
|
|
export default function Home() {
|
|
return (
|
|
<div>
|
|
Server
|
|
<Component />
|
|
</div>
|
|
)
|
|
}
|