The month/filter-driven loaders on Analytics, Summary, and Spending (x2) fetched + setState with no race guard, so a slow response for old params could overwrite fresher data (or setState after unmount) on rapid month/category nav. Added the request-sequence guard already used by the Bank ledger (newest request wins; stale ignored). Bills/Subscriptions load once ([] deps) so they weren't at risk; BankTransactions already had the guard. 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 | ||