Conversation
|
전체적으로 깔끔하게 잘 작성해주셨습니다. cartSlice.ts 코드에서 초기 상태에서 amount, total을 cartItems 기반으로 바로 계산하면 초기 렌더링 시 자동 계산되게 작성하는 방법으로도 고민해보면 좋을 거 같습니다. 수고하셨습니다! |
onebone
approved these changes
Dec 2, 2025
Contributor
onebone
left a comment
There was a problem hiding this comment.
9주차 워크북 고생하셨습니다! 전반적으로 잘 작성해주신 것 같습니다 👍 Props drilling과 이를 해결하기 위한 상태 관리 라이브러리를 잘 학습해주신 것 같아요. 미션3의 Zustand만 도전해보신 것 같은데, Redux Toolkit도 꽤 많이 사용되는 라이브러리라서 한 번 연습해보시는 걸 추천드립니다! 그리고 Navbar에서 calculateTotals를 useEffect로 호출해주고 있는데 decrease, increase에서 함께 호출해주면 UI 종속성이 줄어들 수도 있을 것 같네요~!
9주차 워크북 고생 많으셨고 기말고사 끝나고 마지막 남은 10주차 워크북도 화이팅입니다 💪
Author
|
|
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.
✅ n주차 워크북 완료 🎉
워크북을 완료한 챌린저분들, 수고 많으셨습니다!
이곳에 학습 진행 중 트러블슈팅(문제 해결 경험), 커밋별 설명, 그리고 소감을 자유롭게 남겨주세요.
서로의 경험을 공유하며 성장해봐요! 🚀
🛠️ 트러블슈팅 (Troubleshooting)
문제
원인 분석
해결 방법
📌 커밋별 설명 (Commit Log)