Skip to content

Conversation

@vbudhram
Copy link
Contributor

@vbudhram vbudhram commented Feb 2, 2026

Because

  • Add new state management infrastructure for fxa-settings that will replace Apollo/GraphQL cache with localStorage-backed state

This pull request

Issue that this pull request solves

Closes: (issue number)

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

Add new state management infrastructure for fxa-settings that will replace
Apollo/GraphQL cache with localStorage-backed state:

- account-storage.ts: Unified localStorage abstraction for account data
- useAccountData.ts: React hook for fetching account data via auth-client
- AccountStateContext.tsx: React context for account state
- AuthStateContext.tsx: React context for auth state
- reactive-var.ts: Replacement for Apollo makeVar/useReactiveVar

These files are additive only - not yet wired into the application.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants