- The server sees exports from a
use clientmodule only as client references, so it cannot access or assign their properties. This means Compound components composed at runtime withObject.assigncannot be used in Server Components -> Export each part statically and group them into a namespace with something likeexport * as Component from './parts', and each part remains an individual client reference, preserving the boundary and tree shaking.