Page MenuHomePhabricator

[native] Move render function in MultimediaMessageMultimedia to functional component
ClosedPublic

Authored by angelika on Wed, Dec 11, 12:38 PM.
Tags
None
Referenced Files
F3493142: D14135.id46429.diff
Thu, Dec 19, 2:10 AM
F3493001: D14135.id46492.diff
Thu, Dec 19, 1:56 AM
F3489908: D14135.diff
Wed, Dec 18, 2:11 PM
Unknown Object (File)
Tue, Dec 17, 9:26 AM
Unknown Object (File)
Fri, Dec 13, 9:54 PM
Subscribers
None

Details

Summary

Move render() function to functional component as a part of MultimediaMessageMultimedia migration to a functional component. This finishes the migration of the MultimediaMessageMultimedia component to a functional component.

Depends on D14134

Test Plan

Open up a multimedia message and see if it behaves correctly.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

angelika held this revision as a draft.
ashoat added inline comments.
native/chat/multimedia-message-multimedia.react.js
28

This can be renamed

53

This can be renamed

156

Can you wrap this with a React.useMemo?

This revision is now accepted and ready to land.Wed, Dec 11, 8:11 PM

Rebase and address feedback