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

[refactor] 컴포넌트 내부 api 코드 서비스 로직으로 분리 #58

Open
4 tasks
CHAERYEON-LEE opened this issue Mar 15, 2024 · 0 comments
Open
4 tasks
Assignees

Comments

@CHAERYEON-LEE
Copy link
Contributor

✍🏻 이슈내용

  • 컴포넌트 내부 api 코드 서비스 로직으로 분리

📑 이슈 상세 내용

  • 컴포넌트 내부 api 코드 서비스 로직으로 분리
  • 매직넘버, 매직리터럴 관리를 위한 const 파일 생성
  • 여러 컴포넌트에서 동일한 로직으로 동작하는 함수들 util 함수로 분리
  • api 호출하는 로직 서비스 로직으로 파일 분리

✅ 체크리스트

  • 컴포넌트 내부 api 코드 서비스 로직으로 분리
  • 매직넘버, 매직리터럴 관리를 위한 const 파일 생성
  • 여러 컴포넌트에서 동일한 로직으로 동작하는 함수들 util 함수로 분리
  • api 호출하는 로직 서비스 로직으로 파일 분리

🚎 레퍼런스

@CHAERYEON-LEE CHAERYEON-LEE added this to the 스프린트 13회 milestone Mar 15, 2024
@CHAERYEON-LEE CHAERYEON-LEE self-assigned this Mar 15, 2024
@CHAERYEON-LEE CHAERYEON-LEE moved this to 🏗 In progress in MUSIQ project Mar 15, 2024
CHAERYEON-LEE added a commit that referenced this issue Mar 18, 2024
- utils 폴더 생성
- 상수로 관리되야 하는 매직넘버와 매직 리터럴 값들 보관 하는 constant.ts파일 생성
- 분산되어있던 isMobile 코드 제거

Fixes: #58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗 In progress
Development

No branches or pull requests

1 participant