Page MenuHomePhabricator

[native] memoized textStyle and styles.text
ClosedPublic

Authored by ginsu on Sep 28 2022, 12:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 20, 7:28 PM
Unknown Object (File)
Wed, Mar 20, 7:28 PM
Unknown Object (File)
Wed, Mar 20, 7:28 PM
Unknown Object (File)
Wed, Mar 20, 7:27 PM
Unknown Object (File)
Mar 10 2024, 3:45 PM
Unknown Object (File)
Feb 22 2024, 1:41 AM
Unknown Object (File)
Feb 21 2024, 11:26 PM
Unknown Object (File)
Feb 21 2024, 11:15 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.