[DON'T MERGE] Use data service to fetch transactions from Accounts API#41529
[DON'T MERGE] Use data service to fetch transactions from Accounts API#41529
Conversation
This PR demonstrates how `useQuery` from `@metamask/react-data-query` can be used to fetch data through a data service, which makes a request, instead of making a request directly in the UI. Also see: MetaMask/core#8395
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution MetaMask internal reviewing guidelines:
|
✨ Files requiring CODEOWNER review ✨👨🔧 @MetaMask/core-extension-ux (2 files, +13 -11)
|
Builds ready [d3aeb6a]
⚡ Performance Benchmarks (Total: 🟢 7 pass · 🟡 0 warn · 🔴 0 fail)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
This PR demonstrates how
useQueryfrom@metamask/react-data-querycan be used to fetch data through a data service, which makes a request, instead of making a request directly in the UI.See corresponding
corePR: MetaMask/core#8395Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist