Feature Sliced Design 기반으로 구성시 segment 를 어떤걸 사용하는게 좋을까요 ? #11
toothlessdev
started this conversation in
컨벤션 의사결정 로그
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
저는 개인적으로
components: 비즈니스로직이 들어있지 않은 순수 presentation 컴포넌트container: 비즈니스 로직이 들어있는 container 컴포넌트contexts: React Context Provider, Consumerhooks: 해당 슬라이스/레이어에서 사용하는 훅schema/model: 엔티티나 폼 검증 등에 필요한 스키마 타입service: API 호출 등 비즈니스 로직관련utils: 유틸리티 함수와 같이 사용하는 편입니다
기본적으로 container-presenter 패턴을 사용한다고 가정했을때 위 세그먼트 처럼
components, contianer 로 나누는 편인데,
다른분들의 생각은 어떤지 궁금합니다
Beta Was this translation helpful? Give feedback.
All reactions