Skip to content

Conversation

@1lmean
Copy link

@1lmean 1lmean commented Dec 23, 2025

과제 체크포인트

과제 요구사항

  • 배포 후 url 제출

  • API 호출 최적화(Promise.all 이해)

  • SearchDialog 불필요한 연산 최적화

  • SearchDialog 불필요한 리렌더링 최적화

  • 시간표 블록 드래그시 렌더링 최적화

  • 시간표 블록 드롭시 렌더링 최적화

과제 셀프회고

기술적 성장

코드 품질

학습 효과 분석

과제 피드백

리뷰 받고 싶은 내용

1lmean and others added 6 commits December 22, 2025 14:22
- API 호출 최적화: 클로저 캐싱 + Promise.all 병렬 실행 (6번 → 2번)
- 필터링 로직: 6개 filter 체이닝 → 단일 패스, parseSchedule 중복 제거
- 메모이제이션: filteredLectures, allMajors useMemo 적용
- 함수 최적화: changeSearchOption, addSchedule useCallback 적용
- 컴포넌트 최적화: LectureRow React.memo로 분리하여 불필요한 리렌더링 방지

성능 개선 효과:
- API 호출 66% 감소 + 병렬화
- 배열 순회 83% 감소 (6번 → 1번)
- parseSchedule 호출 50% 감소 (lecture당 2번 → 1번)
- 불필요한 리렌더링 최소화

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
CLAUDE.md 등 프로젝트 문서를 커밋할 수 있도록
/*.md ignore 규칙 제거

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
React.memo로 감싼 LectureRow 컴포넌트에 displayName 추가하여
React DevTools에서 디버깅 개선. Tr 컴포넌트의 빈 key 속성 제거
(key는 부모 컴포넌트에서 전달됨)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
단일 React SPA 구조에 맞게 deploy.yml 수정:
- 불필요한 루트 index.html 생성 로직 제거 (vanilla/react 구조 아님)
- 잘못된 프로젝트 경로 참조 제거 (chapter4-1 -> chapter4-2)
- 404.html 생성 로직 단순화 (SPA 라우팅 지원)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
production 환경에서 /front_7th_chapter4-2/ base 경로 추가하여
GitHub Pages 서브 경로 배포 시 404 에러 해결

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant