metamask-mobile icon indicating copy to clipboard operation
metamask-mobile copied to clipboard

perf: add some account list optimisations

Open Prithpal-Sooriya opened this issue 4 months ago • 2 comments

Description

Some Account List Sheet Optimisations

  • Add FlashList and valid virtualisation support.
  • Move internal account list item to a separate memoized component.
  • Optimise data used inside account list (narrow data selection and list items mostly dealing with primitives)

List is decent now, however clicking to open the sheet is a little slow still. Need to investigate.

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Prithpal-Sooriya avatar Jun 17 '25 21:06 Prithpal-Sooriya