Open
Conversation
|
basic 에서 부족했던 부분이 advanced에서 이어진다는 부분이 공감이 갑니다. 오히려 저는 basic을 다시 수정할 생각은 못했는데, 꼼꼼히 신경쓴 부분이 인상적이에요! 한 주 고생 많으셨습니다!! |
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://areumh.github.io/front_6th_chapter2-1/
기본과제
심화과제
과제 셀프회고
과제를 하면서 내가 제일 신경 쓴 부분은 무엇인가요?
과제를 다시 해보면 더 잘 할 수 있었겠다 아쉬운 점이 있다면 무엇인가요?
기존 코드를 해석하는 데에 시간을 많이 썼고 화요일에 진행된 과제 qna 이후에 기존의 방향을 엎어서 개인적으로 시간이 촉박했다. (새로 시작한 코드를
src/basic/html폴더에 작성한 후 폴더 구조를 정리했다.) 심화 과제도 수요일 밤에 급하게 시작해서 basic의 부족한 부분이 그대로 이어진 것 같다.. 각 services 폴더의 포인트 계산, 장바구니 상태 계산 함수 내부에서 수행되는 역할이 분리되지 않은 게 제일 아쉽다. 그리고 초반에 basic에 시간을 많이 썼는데도 완벽히 진행되지 않아서 advanced를 구현하면서 basic을 같이 수정한 부분이 많았는데 이 부분도 아쉬움이 남는다. 또한 현재 AI를 ChatGPT에게 질문하는 방식으로만 사용 중인데, 더 다양하게 사용해볼걸 하는 생각도 든다.리뷰 받고 싶은 내용이나 궁금한 것에 대한 질문 편하게 남겨주세요 :)
처음엔 상품 목록과 장바구니 상품 목록만 전역 상태로 관리할까 하다가 화면에 렌더링되어 보여질 값들 (장바구니 상품들의 총 개수, 총 가격, 최종 포인트.. 등등)을 하나의 state로 묶어서 같이 전역 상태로 만들고 (type 파일 내의 AppState) 사용자의 액션에 따라 해당 state가 한 번에 갱신되도록 구현했습니다. 이렇게 계산된 파생 상태를 전역 상태로 관리하는게 괜찮은 선택인가요?? 실무에서도 이번 과제처럼 한 번에 페이지에 보여질 값들이 많이 바뀌어야할 때 이 모든 값들을 전역 상태로 관리하는지 궁금합니다!