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> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| pages | ||
| public/img | ||
| App.jsx | ||
| api.js | ||
| index.css | ||
| main.jsx | ||