Page MenuHomePhabricator

[native] Add some memoization to `ImagePasteModal`
ClosedPublic

Authored by atul on Nov 27 2023, 11:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 14, 7:59 AM
Unknown Object (File)
Mon, Apr 14, 5:09 AM
Unknown Object (File)
Mon, Apr 14, 1:32 AM
Unknown Object (File)
Sun, Apr 13, 8:16 PM
Unknown Object (File)
Sun, Apr 13, 8:41 AM
Unknown Object (File)
Sun, Apr 6, 8:58 AM
Unknown Object (File)
Mar 4 2025, 8:51 PM
Unknown Object (File)
Mar 2 2025, 2:39 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