Skip to content

Commit 4baf2bc

Browse files
arbrandesclaude
andcommitted
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/BackedData.test.tsx

Lines changed: 0 additions & 359 deletions
This file was deleted.

0 commit comments

Comments
 (0)