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)
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
Unknown Object (File)
Nov 16 2024, 8:05 PM
Unknown Object (File)
Oct 15 2024, 12:39 AM
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
master
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 ↗(On Diff #33762)

This could be extracted outside of the component

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