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)
Sat, Oct 19, 6:08 AM
Unknown Object (File)
Sat, Oct 19, 6:08 AM
Unknown Object (File)
Sat, Oct 19, 6:08 AM
Unknown Object (File)
Sat, Oct 19, 6:08 AM
Unknown Object (File)
Mon, Oct 7, 4:59 PM
Unknown Object (File)
Mon, Oct 7, 11:36 AM
Unknown Object (File)
Sep 7 2024, 3:20 AM
Unknown Object (File)
Sep 7 2024, 3:20 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
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.