Page MenuHomePhabricator

[native] memoized textStyle and styles.text
ClosedPublic

Authored by ginsu on Sep 28 2022, 12:12 PM.
Tags
None
Referenced Files
F1774675: D5251.id17212.diff
Thu, May 16, 3:15 AM
F1774656: D5251.id.diff
Thu, May 16, 2:41 AM
Unknown Object (File)
Tue, May 14, 7:50 AM
Unknown Object (File)
Mon, Apr 29, 11:16 AM
Unknown Object (File)
Sun, Apr 21, 9:01 AM
Unknown Object (File)
Sun, Apr 21, 9:01 AM
Unknown Object (File)
Sun, Apr 21, 9:01 AM
Unknown Object (File)
Sun, Apr 21, 8:56 AM

Details

Summary

memoized textStyle and styles.text into markdownStyles for improved performance

Test Plan

Open a chat with any markdown components (blockquote, codeblock, etc) and everything should be the same

Diff Detail

Repository
rCOMM Comm
Branch
eng-1712-native (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu added reviewers: atul, abosh, rohan.
ginsu added a reviewer: kamil.

Thanks for separating this out!

This revision is now accepted and ready to land.Sep 28 2022, 1:02 PM

Saw this initially in your other diff, the separation looks good to me

This revision was automatically updated to reflect the committed changes.