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.
어려웠던 점
저번에 클론했을 때 파일 경로를 이상하게 클론했었기 때문에 헤매다가 그냥 파일을 지우고 제대로 다시 클론해서 과제를 시작할 수 있었다.
아직 React 문법에 익숙하지 않아서 고생했다. 전체적으로 아직 코드를 이해하기 어렵다. 예전 스터디의 내용이 잘 기억나지 않아서 다시 React와 Node.js의 차이점 등을 알아보았다. 컴포넌트 jsx 파일과 App.jsx 파일의 연관성(?)을 연결하는 것이 어려웠다. 아직 React 파일의 구조를 잘 이해하지 못해서 다른 예시도 많이 찾아보아야 할 것 같다.
본인이 생각했을 때 과제에서 중요했던 내용
state가 배열일 때 항목을 추가/삭제/수정하고 싶으면, 기존에 존재하는 배열을 추가/삭제/수정한 새로운 배열을 만들어야 한다는 것이 중요하다.
또한 배열.map((항목) => ...) 이런 형식으로 항목 하나하나 돌아보며 해야한다.