useSummary(year, month) with keepPreviousData for smooth month nav. The editable form fields (starting amounts, income) that loadSummary used to seed inline are now seeded from the query result via a data-synced effect; refetchOnWindowFocus is off so a background refetch can't reset a mid-edit. loadSummary is now an invalidate wrapper (retry + post-mutation reconciliation), and the optimistic expenses reorder writes through setQueryData. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| useAuth.jsx | ||
| useAutoSave.js | ||
| useAutoSave.test.jsx | ||
| useQueries.js | ||
| useSearchPanelPreference.js | ||