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

7장 #88

Open
bada308 opened this issue Feb 21, 2024 · 0 comments
Open

7장 #88

bada308 opened this issue Feb 21, 2024 · 0 comments
Assignees

Comments

@bada308
Copy link
Collaborator

bada308 commented Feb 21, 2024

책에서 나온 API 레이어

  1. 서비스 레이어
  2. View Model
  3. 훅 레이어

레이어가 많다! → 레이어가 많아질수록 코드가 복잡해짐

View Model이 꼭 필요한 경우에만 사용하자.

그렇다면 필요하지 않은 경우는?

  • data의 프로퍼티가 1~2개인 경우는 View Model이 필요할까?

Mocking할 때 다들 어떤 거 사용하시나요?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant