Skip to content

Conversation

@S-Gihun
Copy link

@S-Gihun S-Gihun commented May 29, 2025

✏️ 작업 내용

#️⃣ 연관된 이슈

#50


📷 작업 결과

2025-05-29.8.20.05.mov

작업 결과 사진을 업로드해주세요.


💡 함께 공유하고 싶은 부분

해당 주차를 공부하면서 함께 이야기하고 싶은 주제를 남겨주세요.

(어려웠던 부분과 해결 과정, 핵심 코드, 참고한 자료 등)

상태관리에 관한 공부를 깊게 하진 않고, 항상 그냥 전역상태로 관리할 수 있게 해주는거다 ~ 라고만 이해하고 있었는데, 이번 기회에 공부할 수 있게 되어 좋았습니다.

노션에 어느정도 자세히 정리해두었으니 한 번 보시면 좋겠습니다.


🤔 질문

해당 주차 워크북을 공부하면서 궁금했던 질문들을 남겨주세요.


✅ 워크북 체크리스트

  • 모든 핵심 키워드 정리를 마쳤나요?
  • 핵심 키워드에 대해 완벽히 이해하였나요?
  • 실습/미션을 수행하였나요?

✅ 컨벤션 체크리스트

  • pr 제목을 컨벤션에 맞게 작성하였나요?
  • pr에 해당되는 이슈를 연결하였나요?
  • 적절한 라벨을 설정하였나요?
  • 코드리뷰를 요청하기 위해 reviewer를 등록하였나요?
  • 닉네임/main 브랜치의 최신 상태를 반영하고 있나요?

@S-Gihun S-Gihun self-assigned this May 29, 2025
@S-Gihun S-Gihun added the 💡 Mission 미션 수행 label May 29, 2025
export const useCartInfo = () =>
useCartStore(
useShallow((state) => ({
cartItems: state.cartItems,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

상태를 객체 형태로 사용할 생각은 못해봤네요
정확한 비교를 위해 useShallow를 써야 하는 것도 배워갑니다!

@S-Gihun S-Gihun merged commit c56acc7 into jett/main Jun 18, 2025
1 check passed
@S-Gihun S-Gihun deleted the jett/#50 branch June 20, 2025 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💡 Mission 미션 수행

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants