[9주차] 오나연 세미나 과제 제출 - #36
Open
nayeon653 wants to merge 19 commits into
Open
Conversation
부모 컴포넌트에 todolist 기능과 무관한 임시 state를 추가하고 테스트 버튼으로 상태를 변경해 보았다. 최적화 전에는 부모 state 변경 시 TodoList와 TodoItem도 함께 리렌더링되었다. 이를 해결하기 위해 React.memo를 사용해 자식 컴포넌트의 불필요한 리렌더링을 막았다. 또한 useCallback과 함수형 업데이트를 적용하여 이벤트 함수가 매 렌더링마다 새로 생성되지 않도록 개선하였다. React DevTools를 통해 최적화 전후 렌더링 차이를 확인하였다.
feat : 온보딩 포트폴리오 페이지 구현
…tend-assignment-1 into member/nayeon653
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.
결과 소개
기능 설명
어려웠던 점, 질문
(없다면 생략 가능)