HomePhabricator
Diffusion Comm a7a07970d92a

[native] utilize memoization in the MesssageHeader component

Description

[native] utilize memoization in the MesssageHeader component

Summary:
I plan to make the user profiles accessible from the message author username in the MessageHeader. However, I noticed that MessageHeader could be better memoized. I figured it would be helpful to quickly improve the memoization here before I make this an access point for the user profile bottom sheet

Depends on D9289

Test Plan: confirmed that MessageHeader still works and looks the same

Reviewers: atul, inka

Reviewed By: atul

Subscribers: ashoat, tomek, wyilio

Differential Revision: https://phab.comm.dev/D9385

Details

Provenance
ginsuAuthored on Sep 15 2023, 12:07 AM
Reviewer
atul
Differential Revision
D9385: [native] utilize memoization in the MesssageHeader component
Parents
rCOMM6e296d4e4291: [native] make user profile accessible from message author avatar
Branches
Unknown
Tags
Unknown