Files
Netcatty/components/ai-elements/message.tsx
T
bincxz 81fe71dc4b perf(ai): defer heavy side-panel UI while hidden and streaming
Keep retained AI panels mounted for session continuity, but skip
ChatMessageList/ChatInput while CSS-hidden so tab switches do not
reconcile Streamdown trees. Render assistant text as plain content
during streaming, lazy-load Streamdown only after the turn settles,
and split message layout from the markdown chunk for a lighter open path.
2026-07-30 15:46:53 +08:00

12 lines
286 B
TypeScript

/** Barrel re-export. Prefer messageShell (layout) or LazyMessageResponse (markdown). */
export {
Message,
MessageContent,
type MessageContentProps,
type MessageProps,
} from './messageShell';
export {
MessageResponse,
type MessageResponseProps,
} from './messageResponse';