Skip to content

perf: fix Receive tab QR code performance and New Address refresh#530

Merged
jamespepper81 merged 1 commit into
devfrom
claude/fix-receive-qr-performance-VvYHU
Jan 30, 2026
Merged

perf: fix Receive tab QR code performance and New Address refresh#530
jamespepper81 merged 1 commit into
devfrom
claude/fix-receive-qr-performance-VvYHU

Conversation

@jamespepper81
Copy link
Copy Markdown
Contributor

  • Remove aggressive cache clearing on screen focus that was causing 5-15 second delays
  • Show wallet's last address instantly on load, then verify in background
  • Fix New Address button to directly use the newly generated address instead of stale cache lookup
  • Clear address metadata cache after generating new address for fresh future lookups
  • Remove unused imports (useFocusEffect, useCallback)

The previous implementation cleared the address cache every time the Receive tab
was focused, forcing a full blockchain address discovery. This caused slow load
times on every tab navigation. The "New Address" button also failed to show the
new address because it queried stale cached metadata that didn't include the
newly generated address.

https://claude.ai/code/session_01QdDhtY1VwbnMResDP2spm8

- Remove aggressive cache clearing on screen focus that was causing 5-15 second delays
- Show wallet's last address instantly on load, then verify in background
- Fix New Address button to directly use the newly generated address instead of stale cache lookup
- Clear address metadata cache after generating new address for fresh future lookups
- Remove unused imports (useFocusEffect, useCallback)

The previous implementation cleared the address cache every time the Receive tab
was focused, forcing a full blockchain address discovery. This caused slow load
times on every tab navigation. The "New Address" button also failed to show the
new address because it queried stale cached metadata that didn't include the
newly generated address.

https://claude.ai/code/session_01QdDhtY1VwbnMResDP2spm8
@jamespepper81 jamespepper81 changed the base branch from main to dev January 30, 2026 06:31
@jamespepper81 jamespepper81 merged commit b770461 into dev Jan 30, 2026
11 checks passed
@jamespepper81 jamespepper81 deleted the claude/fix-receive-qr-performance-VvYHU branch January 30, 2026 07:02
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