[11팀 김진관] Chapter 2-3. 관심사 분리와 폴더구조 #62
Open
kkole3897 wants to merge 25 commits intohanghae-plus:mainfrom
Open
[11팀 김진관] Chapter 2-3. 관심사 분리와 폴더구조 #62kkole3897 wants to merge 25 commits intohanghae-plus:mainfrom
kkole3897 wants to merge 25 commits intohanghae-plus:mainfrom
Conversation
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.
과제 체크포인트
기본과제
목표 : 전역상태관리를 이용한 적절한 분리와 계층에 대한 이해를 통한 FSD 폴더 구조 적용하기
체크포인트
심화과제
목표: 서버상태관리 도구인 TanstackQuery를 이용하여 비동기코드를 선언적인 함수형 프로그래밍으로 작성하기
체크포인트
과제 셀프회고
이번주 회사일이 너무 바빠서 물리적으로 과제할 시간이 너무 부족해서 기본 과제도 제대로 하지 못 했습니다.
과제에서 좋았던 부분
과제를 하면서 새롭게 알게된 점
과제를 진행하면서 아직 애매하게 잘 모르겠다 하는 점, 혹은 뭔가 잘 안되서 아쉬운 것들
리뷰 받고 싶은 내용이나 궁금한 것에 대한 질문
tanstack query를 쓸 때 리스트 형태의 데이터를 받아오고 그 리스트 안의 특정 요소를 몇 단계 nested된 컴포넌트에서 참조해야할 경우 특정할 수 있는 key 값이나 특정할 수 없는 경우 해당 요소의 값을 직접 내려주면서 props drilling이 종종 일어나는 경우가 있었습니다. 개선할 수 있는 방법으로 context 정도를 사용하는 것 밖에 생각이 안 나는데, 이 문제를 어떻게 해결할 수 있을까요?
로그인, 로그아웃을 할 경우 invalidate해야될 쿼리들이 굉장히 많아지는데 이런 경우처럼 대량의 쿼리를 invalidate해야되는 경우 어떻게 관리하는 편이 효율적일까요?