[7팀 양창훈] Chapter 2-3. 관심사 분리와 폴더구조#45
Open
yangchanghun wants to merge 16 commits intohanghae-plus:mainfrom
Open
[7팀 양창훈] Chapter 2-3. 관심사 분리와 폴더구조#45yangchanghun wants to merge 16 commits intohanghae-plus:mainfrom
yangchanghun wants to merge 16 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.
과제 체크포인트
https://yangchanghun.github.io/front_6th_chapter2-3/?limit=10&sortOrder=asc
기본과제
목표 : 전역상태관리를 이용한 적절한 분리와 계층에 대한 이해를 통한 FSD 폴더 구조 적용하기
체크포인트
심화과제
목표: 서버상태관리 도구인 TanstackQuery를 이용하여 비동기코드를 선언적인 함수형 프로그래밍으로 작성하기
체크포인트
최종과제
과제 셀프회고
이번 과제를 통해 이전에 비해 새롭게 알게 된 점이 있다면 적어주세요.
FSD구조와 tanstack-query를 사용하면 서버상태관리를 용이하게 다룰 수 있다는 사실을 알게되었습니다
본인이 과제를 하면서 가장 애쓰려고 노력했던 부분은 무엇인가요?
거의 AI로 코드를 작성했지만, tanstack query의 동작 원리를 이해하려고 노력했습니다.
useQuery와 useMutation의 차이, 서버 상태와 클라이언트 상태를 어떻게 분리해야 하는지 등을 직접 확인하며 적용하려 애썼습니다.
아직은 막연하다거나 더 고민이 필요한 부분을 적어주세요.
폴더와 파일을 세분화하다 보니 끝없이 쪼개는 느낌이 들었고, 어디까지 나누는 게 적절한지 아직은 잘 감이 오지 않습니다.
이번에 배운 내용 중을 통해 앞으로 개발에 어떻게 적용해보고 싶은지 적어주세요.
챕터 셀프회고
클린코드: 읽기 좋고 유지보수하기 좋은 코드 만들기
클린코드는 남이 보거나 내가봤을때 어떤기능을 하는 로직이겠구나 라는 생각이 들면 클린코드이지 않을까 라는 생각이 들고 그것이 읽기 좋은 코드라고 생각합니다.
유지보수하기 쉬운 코드는 결국 변경에 강한 코드라고 생각합니다.
결합도 낮추기: 디자인 패턴, 순수함수, 컴포넌트 분리, 전역상태 관리
응집도 높이기: 서버상태관리, 폴더 구조
리뷰 받고 싶은 내용이나 궁금한 것에 대한 질문