getAlby / lightning-browser-extension

The Bitcoin Lightning Browser Extension that brings deep Lightning & Nostr integration to the web. Wallet interface to multiple lightning nodes and key signer for Nostr, Liquid and onchain use.
https://getalby.com/#extension
MIT License
538 stars 194 forks source link

[Feature] Use SWR caching for transaction list #2949

Open bumi opened 10 months ago

bumi commented 10 months ago

Feature description

Currently we always load the transaction list when the wallet is shown. On slower wallet connections this makes Alby feel slow.

Describe the solution

We should use the SWR utils that we have to show cached data and the update it.

Describe alternatives

No response

Additional context

No response

Are you working on this?

None

bitcoinuser commented 10 months ago

Related? https://github.com/getAlby/lightning-browser-extension/issues/2985