Files
Niklas MischkulnigandGitHub e309a6ef70 test: Add tests for client reference side effects (#92774)
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
2026-04-14 13:09:46 +02:00

12 lines
198 B
TypeScript

import '../client-sideeffect-only'
import { Component } from '../client-sideeffect-reexport'
export default function Home() {
return (
<div>
Server
<Component />
</div>
)
}