useSubscriptions + useSubscriptionRecommendations (+ shared useBills/ useCategories). Optimistic updates (toggle, reorder, dismiss recommendation) and their await-load() reconciliation preserved by routing setData/setBills/ setRecommendations through queryClient.setQueryData and load()/loadRecommendations through invalidateQueries. The redundant mount-load effect was removed (hooks fetch on mount). useOptimistic layer unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| useAuth.jsx | ||
| useAutoSave.js | ||
| useAutoSave.test.jsx | ||
| useQueries.js | ||
| useSearchPanelPreference.js | ||