Commit 4baf2bc
refactor: replace BackedDataProvider with React Query cache lookup
The masquerade fallback data was maintained in a separate context
provider, duplicating what React Query already caches. Now when
masquerading fails, the normal user's data is read directly from the
query cache via queryClient.getQueryData(). This eliminates
BackedDataProvider and its associated useEffect sync.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent a1afd7d commit 4baf2bc
6 files changed
Lines changed: 30 additions & 488 deletions
File tree
- src/data
- context
- hooks
This file was deleted.
0 commit comments