- B1: replace the two raw useEffect/api fetches (simplefinStatus, settings) with useSimplefinStatus() and useSettings() query hooks — cached/deduped like the rest of the app. Tracker settings now derive from the ['settings'] cache merged under module-level TRACKER_SETTING_DEFAULTS. - B2: settings save is now useSaveSettings() — a useMutation with optimistic cache update + rollback on error, replacing the hand-rolled optimistic/refetch. - B3: useDeferredValue on the search term feeding filteredRows so typing stays snappy on large months (matches BillsPage/SubscriptionsPage). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| useAuth.tsx | ||
| useAutoSave.test.ts | ||
| useAutoSave.ts | ||
| usePaymentActions.ts | ||
| useQueries.ts | ||
| useSearchPanelPreference.ts | ||