[4팀 김수민] Chapter 4-2 코드 관점의 성능 최적화#41
Open
nimusmix wants to merge 14 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
과제 체크포인트
https://nimusmix.github.io/front_6th_chapter4-2/
과제 요구사항
배포 후 url 제출
API 호출 최적화(
Promise.all이해)SearchDialog 불필요한 연산 최적화
SearchDialog 불필요한 리렌더링 최적화
시간표 블록 드래그시 렌더링 최적화
[] 시간표 블록 드롭시 렌더링 최적화
과제 셀프회고
기술적 성장
사실 저는
React.memo를 써본 적이 크게 없고.. 실무에서 그렇게 필요하다고 생각해본 적도 없는데요!dnd를 처음 다뤄보면서 이런 컴포넌트에서는 컴포넌트를 잘 쪼개고 메모이제이션하는 것이 참 중요하구나 생각했습니다!
준일 코치님이 처음에 과제로 내려고 하셨다던 웹 빌더 같은 경우도 이 부분을 최적화하는 것이 중요한 부분일 것 같아요
도메인마다 중요하게 여겨야 하는 부분이 다르다는 것을 깨닫게 되었습니다!
코드 품질
createFetchWithCache함수를 구현했습니다.과제 피드백
어디에선가 프론트엔드 사이드프로젝트로 트렐로 만들기를 해보는 게 엄청 좋다!라고 이야기를 들어봤었는데요.
그걸 보면서 dnd를 어떻게 잘 컨트롤할까? 라는 생각을 많이 했었는데,
이번 과제에서 구현해보지는 않았지만 최적화하면서 경험해볼 수 있어서 좋았어요!
다음부터는 dnd를 직접 다뤄보고 싶습니다아ㅎㅎㅎ