What changed (plus any additional context for devs)
Remove unnecessary fetchWalletNames and fetchWalletENSAvatars calls from walletLoad
Move ens prefetch calls inside onPress events instead of running every time with useEffect.
This was happening on UseOnAvatarPress and ENSCreateProfileCard
Screen recordings / screenshots
WIth 3 wallets we used to have 88 requests on launch.
After the fix with the same 3 wallets we have 16 requests on launch
Fixes RNBW-4786
What changed (plus any additional context for devs)
onPress
events instead of running every time with useEffect. This was happening onUseOnAvatarPress
andENSCreateProfileCard
Screen recordings / screenshots
WIth 3 wallets we used to have 88 requests on launch.
After the fix with the same 3 wallets we have 16 requests on launch
BEFORE:
AFTER:
What to test