Page MenuHomePhabricator

[native] utilize memoization in the MesssageHeader component
ClosedPublic

Authored by ginsu on Oct 6 2023, 3:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 4:45 PM
Unknown Object (File)
Sat, Apr 27, 1:06 PM
Unknown Object (File)
Sat, Apr 27, 1:06 PM
Unknown Object (File)
Sat, Apr 27, 1:06 PM
Unknown Object (File)
Sat, Apr 27, 1:04 PM
Unknown Object (File)
Sat, Apr 27, 12:48 PM
Unknown Object (File)
Thu, Apr 25, 3:04 PM
Unknown Object (File)
Apr 15 2024, 7:26 PM
Subscribers

Details

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

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu added reviewers: atul, inka.
ginsu edited the summary of this revision. (Show Details)
ginsu requested review of this revision.Oct 6 2023, 4:11 AM
This revision is now accepted and ready to land.Oct 9 2023, 12:41 PM