freighter icon indicating copy to clipboard operation
freighter copied to clipboard

Refactor: Account balance hook

Open aristidesstaffieri opened this issue 11 months ago • 1 comments

Today our account balances data fetching workflow uses a key in the transactionSubmission redux store and a thunk in order to supply account balances. Since we use account balances across many views, this has the side effect of forcing views to deal with stale loading flags and store state. We can improve our balances fetching workflows by using a data fetching hook in a similar way to history refactor https://github.com/stellar/freighter/pull/1698

aristidesstaffieri avatar Jan 21 '25 15:01 aristidesstaffieri

@aristidesstaffieri can we add a description here?

JakeUrban avatar Feb 18 '25 17:02 JakeUrban