Page MenuHomePhabricator

[native] Add some memoization to `ImagePasteModal`
ClosedPublic

Authored by atul on Nov 27 2023, 11:56 AM.
Tags
None
Referenced Files
F3542937: D10060.id33770.diff
Thu, Dec 26, 9:13 AM
F3542563: D10060.id33766.diff
Thu, Dec 26, 8:35 AM
Unknown Object (File)
Sat, Dec 21, 10:43 AM
Unknown Object (File)
Sat, Dec 21, 1:54 AM
Unknown Object (File)
Nov 16 2024, 8:06 PM
Unknown Object (File)
Nov 16 2024, 8:06 PM
Unknown Object (File)
Nov 16 2024, 8:06 PM
Unknown Object (File)
Nov 16 2024, 8:06 PM
Subscribers
None

Details

Summary

Noticed a few obvious issues when addressing D10059, figured I'd put up a super quick diff to address.

Test Plan

Should be noop refactor

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D10046
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.Nov 27 2023, 12:07 PM

Thanks for fixing this up

native/chat/image-paste-modal.react.js
54

This could be extracted outside of the component

This revision is now accepted and ready to land.Nov 27 2023, 12:24 PM