Conversation
onebone
approved these changes
Dec 2, 2025
Contributor
onebone
left a comment
There was a problem hiding this comment.
9주차 워크북 고생 많으셨습니다!! 👍 이번 워크북에서 주로 다루고자 했던 Props drilling, 그리고 그걸 해결하기 위한 Redux Toolkit과 Zustand를 잘 이해하고 활용해주신 것 같네요. 몇 가지 개선되면 좋을 부분을 짚어드리자면, 우선 미션1에서 decrease는 item.amount을 단순히 -1만 해줘서 0 이하의 값을 가질 수도 있게 돼서 자동으로 removeItem까지 될 수 있게 해주면 일관성을 더 잘 유지할 수 있도록 코드를 작성할 수 있게 될 것 같네요! 미션3처럼 0 이하의 값을 가지게 되면 제거되도록 됐으면 더 좋았을 것 같습니다! 그리고 price가 string으로 정의되고 사용할 때마다 Number로 캐스팅하고 있는데, 코드의 안정성을 위해서 어떤 형태로든 number로 저장해두면 더 좋은 코드가 될 것 같네요!
추가로 practice09의 내용은 워크북에서 본 적 없는 것 같은데 추가로 연습해주신 부분일까요?😉 워크북 열심히 하시는 모습 볼 수 있어서 좋고, 기말고사 끝나고 마지막 남은 10주차 워크북도 화이팅입니다! 💪
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.
✅ 9주차 워크북 완료 🎉
워크북을 완료한 챌린저분들, 수고 많으셨습니다!
이곳에 학습 진행 중 트러블슈팅(문제 해결 경험), 커밋별 설명, 그리고 소감을 자유롭게 남겨주세요.
서로의 경험을 공유하며 성장해봐요! 🚀
🛠️ 트러블슈팅 (Troubleshooting)
문제
원인 분석
해결 방법
📌 커밋별 설명 (Commit Log)