Skip to content

Card 컴포넌트가 RSC 지원이 제대로 안되는 문제 #830

@SimYunSup

Description

@SimYunSup

문제 상황

Card의 Compound 패턴을 Object.assign 사용하기 때문에 RSC 지원이 제대로 안되는 문제

Serialisation Issues: This pattern isn’t compatible with React Server Components (RSC) because it can’t be serialised.
tree shaking Issues: All parts get included in the bundle, which is inefficient.

직렬화 문제로 RSC 지원이 되지 않고, dot-notation문제로 Tree-shaking 지원이 되지 않습니다.

다른 Checkbox/Grid같은 패턴에서도 dot notation 지원하지 않기 때문에 dot notation이 필요해보입니다(차후 스프린트에서 해결할지 고민 필요).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions