[Week7/mission] Tanstack Query 입문 2편: useMutation과 Optimistic Update#42
Merged
leetaesk merged 9 commits intojackson/mainfrom May 16, 2025
Merged
[Week7/mission] Tanstack Query 입문 2편: useMutation과 Optimistic Update#42leetaesk merged 9 commits intojackson/mainfrom
leetaesk merged 9 commits intojackson/mainfrom
Conversation
duwlsssss
approved these changes
May 16, 2025
|
|
||
| const previous = queryClient.getQueryData(['lpDetail', lpId]); | ||
|
|
||
| queryClient.setQueryData(['lpDetail', lpId], (old: any) => { |
JeonSuna
approved these changes
May 16, 2025
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.
✏️ 작업 내용
#️⃣ 연관된 이슈
#36
📷 작업 결과
week7-mission1-lp.mp4
week7-mission1-.mp4
week7-mission2-.mp4
💡 함께 공유하고 싶은 부분
이렇게 많은 로직을 다뤄본 게 처음이라 코드가 정리가 안 되어있고 지저분하네요 ㅜㅜ
🤔 질문
컴포넌트랑 쿼리들 어떻게들 분리하셨는지 궁금합니다
✅ 워크북 체크리스트
✅ 컨벤션 체크리스트