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
F3507131: D14135.diff
Fri, Dec 20, 7:32 PM
F3506891: D14135.id46354.diff
Fri, Dec 20, 6:31 PM
F3506473: D14135.id46492.diff
Fri, Dec 20, 4:51 PM
F3505869: D14135.id46528.diff
Fri, Dec 20, 2:53 PM
F3505101: D14135.id46354.diff
Fri, Dec 20, 12:13 PM
F3505089: D14135.id46493.diff
Fri, Dec 20, 12:08 PM
F3505081: D14135.id46494.diff
Fri, Dec 20, 12:06 PM
F3504986: D14135.id46429.diff
Fri, Dec 20, 11:49 AM
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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

angelika held this revision as a draft.
ashoat added inline comments.
native/chat/multimedia-message-multimedia.react.js
28 ↗(On Diff #46354)

This can be renamed

53 ↗(On Diff #46354)

This can be renamed

156 ↗(On Diff #46354)

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