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: 공통 컴포넌트, hook 이동 #54

Merged
merged 7 commits into from
Jun 18, 2023

Conversation

ojj1123
Copy link
Collaborator

@ojj1123 ojj1123 commented Jun 12, 2023

📮 관련 이슈

⛳️ 작업 내용

🌱 PR 포인트

- components/common -> common/components
- 공통 컴포넌트 이동하면서 추가적으로 생긴 경로 변경 반영
@ojj1123 ojj1123 added the refactor Refectoring label Jun 12, 2023
@ojj1123 ojj1123 self-assigned this Jun 12, 2023
@vercel
Copy link

vercel bot commented Jun 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thismeme-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2023 8:05am

- application/hooks/common -> common/hooks
- 공통 hook 이동하면서 추가적으로 생긴 경로 변경 반영
ojj1123 added 3 commits June 13, 2023 02:47
- application/util -> common/utils
- 경로 수정으로 추가적인 변경 반영
- infra/sdk -> common/libs
- 경로 변경으로 인한 추가적인 경로 수정
@ojj1123 ojj1123 marked this pull request as ready for review June 13, 2023 03:12
@ojj1123 ojj1123 requested review from elbica and SeieunYoo as code owners June 13, 2023 03:12
@ojj1123
Copy link
Collaborator Author

ojj1123 commented Jun 13, 2023

빌드 에러 발생하는거 해결하고 있으니 다른거 먼저 리뷰 해주세요~

Copy link
Member

@SeieunYoo SeieunYoo left a comment

Choose a reason for hiding this comment

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

짱짱짱

Comment on lines +3 to +5
import { Button } from "../../Button";
import { Icon } from "../../Icon";
import { RandomImage } from "../../RandomImge";
Copy link
Member

Choose a reason for hiding this comment

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

여기서는 절대경로 적용 안되나유 ? @common/components/~

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

vscode 자동완성 import 로 저게 나와서 그렇긴 합니다
common/components 폴더 안에 있는 컴포넌트 끼리는 절대경로가 추천이 안되더라구요 ㅜㅜ

Copy link
Collaborator

@elbica elbica left a comment

Choose a reason for hiding this comment

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

도메인 컴포넌트들은 component/도메인 폴더 밑에 있는 것 같네요!

추후 테스트나 도메인 hook, 유틸도 고려한다면
feature/도메인/ 밑에 component 폴더를 만드는게 관심사가 더 가깝지 않을까요??

  • feature/memes/component
  • feature/memes/hooks
  • feature/memes/tests
  • feature/memes/container (페이지 컴포넌트를 feature와 가깝게 두기 위해 container를 만들기도 함)

@ojj1123
Copy link
Collaborator Author

ojj1123 commented Jun 17, 2023

도메인 컴포넌트들은 component/도메인 폴더 밑에 있는 것 같네요!

추후 테스트나 도메인 hook, 유틸도 고려한다면 feature/도메인/ 밑에 component 폴더를 만드는게 관심사가 더 가깝지 않을까요??

  • feature/memes/component
  • feature/memes/hooks
  • feature/memes/tests
  • feature/memes/container (페이지 컴포넌트를 feature와 가깝게 두기 위해 container를 만들기도 함)

아직 feature 폴더 작업은 안했어요~
이 브랜치 merge 하고 다음에 feature 폴더 만들고 작업할거에용! 참고할게여 ~

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

Successfully merging this pull request may close these issues.

3 participants