Skip to content

Conversation

@bbbang105
Copy link
Member

  • 클린 코드 3, 4장 정리 문서를 업로드하였습니다.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 프론트에서 공통 컴포넌트를 만들다 보면 플래그 인수를 자주 넣게 되고, 그게 점점 복잡해지면서 나중에 유지보수가 어려워지더라고요. 요즘은 shadcn/ui처럼 headless 방식으로 역할을 분리하거나, antd처럼 컴파운드 패턴으로 구조화하는 걸 보면서 많이 배웁니다.
좋은 코드 구조를 보면 인수나 props를 줄이는 데도 많이 배우는 것 같아요!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

혹시 궁금한 프론트분들이 있을까봐 간단하게 정리해본거 링크 달아요

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 shadcn을 사용해본 경험이 있는데 확실히 API 형태가 아니라 직접 코드 형태로 제공되다 보니 커스텀하기 훨씬 수월하더라고요!!

컴파운드 패턴도 공통 컴포넌트 설계할 때 확장성 면에서 정말 좋다고 느꼈어요

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 shadcn을 사용해본 경험이 있는데 확실히 API 형태가 아니라 직접 코드 형태로 제공되다 보니 커스텀하기 훨씬 수월하더라고요!!

컴파운드 패턴도 공통 컴포넌트 설계할 때 확장성 면에서 정말 좋다고 느꼈어요

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

꾸준히 글쓰는 개발자 너무 멋있습니다..

@bbbang105 bbbang105 merged commit 99756db into main Jul 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants