Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presentation 레이어 패키지 정리 #5

Open
Cotidie opened this issue Feb 1, 2022 · 0 comments
Open

Presentation 레이어 패키지 정리 #5

Cotidie opened this issue Feb 1, 2022 · 0 comments
Labels

Comments

@Cotidie
Copy link
Owner

Cotidie commented Feb 1, 2022

문제

component 패키지는 재활용이 가능한 컴포저블을 담는데, 여기에는 한 화면에 귀속된 컴포저블도 있다. 현재 패키지 구조는 아래와 같다.

presentation
    |- component
        |- implement   // 화면에 귀속된 컴포저블
    |- model              // 레이어 전용 자료형
    |- navigation
    |- viewmodel
    |- view

해결책

아래와 같이 패키지를 변경한다면 좋을 것 같다.

presentation
    |- component
    |- model              // 레이어 전용 자료형
    |- navigation
    |- viewmodel
    |- view
        |- <화면1 패키지>
        |- <화면2 패키지>
        |- <...>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant