Page MenuHomePhabricator

[native] memoized textStyle and styles.text
ClosedPublic

Authored by ginsu on Sep 28 2022, 12:12 PM.
Tags
None
Referenced Files
F1678521: D5251.diff
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
Unknown Object (File)
Mar 20 2024, 7:28 PM
Unknown Object (File)
Mar 20 2024, 7:28 PM
Unknown Object (File)
Mar 20 2024, 7:28 PM

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.