Reuses the shared useBills/useCategories caches (+ new useBillTemplates/ useDeletedBills), so bill mutations here now also refresh the Tracker/badge live via the shared ['bills'] key. Optimistic list edits (delete, reorder) write through queryClient.setQueryData; post-mutation load() calls became a refresh() that invalidates the 4 page queries. 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 | ||