Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📌 이슈번호
📗 요구 사항과 구현 내용
1. Tab 컴포넌트 관심사 분리
context api와 합성컴포넌트를 사용하여 코드 가독성을 높이고, 유지보수하기 쉽게 수정하였습니다.
기존의 탭 컴포넌트
변경 후
2. 검색페이지 전체 리팩토링
불필요한 css와 코드를 수정하였습니다.
기존의 코드에 영향이 가지않도록 새로 작성한 코드들은 따로 Search 폴더 안에 작성했습니다.
=> 파일이 복잡해서 일단 Search폴더에 필요한 컴포넌트를 넣어놨는데 추후 폴더 구조 변경하면서 변경 예정
문제가 없을시 기존의 코드는 삭제하도록 하겠습니다.
📖 구현 스크린샷
📖 PR 포인트 & 궁금한 점