Skip to content

Conversation

@b0nsu
Copy link
Collaborator

@b0nsu b0nsu commented Jan 31, 2026

✅ Key Changes

이번 PR에서 작업한 내용을 간략히 설명해주세요

queryClient.invalidateQueries({ queryKey: TanstackQueryClient.queryOptions( 'get', '/api/student/scrap/{scrapId}/handwriting', { params: { path: { scrapId } } } ).queryKey, });

  • 쿼리키 무효화 key 수정 (해당 스크랩 이탈 시 사용)
  1. useState isSaving dependency 제거

    • 스크랩 자동 저장 시 isSaving에 변화 때문에 ui state 초기화 및 데이터에 손실 발생
  2. 스크랩 상세보기 헤더 lottie fetch 애니메이션 동작 수정

const subscription = AppState.addEventListener('change', (nextState: AppStateStatus) => { if (nextState === 'background' && hasUnsavedChanges && !isSaving) {
- AppStateStatus 통해 background 상태 진입 시 저장 프로세스 실행

@b0nsu b0nsu requested a review from sterdsterd January 31, 2026 13:10
@vercel
Copy link

vercel bot commented Jan 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pointer-admin Ready Ready Preview, Comment Feb 1, 2026 6:23am

@b0nsu b0nsu added the 🐞 Fix 버그 수정 label Jan 31, 2026
@b0nsu b0nsu linked an issue Jan 31, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 Fix 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix/native/scrap-#184] handwriting 데이터 저장 문제

2 participants