Page MenuHomePhabricator

[native] Migrate ActionResultModal component to Reanimated v2 API
ClosedPublic

Authored by angelika on Wed, Dec 11, 12:05 PM.
Tags
None
Referenced Files
F3490397: D14130.diff
Wed, Dec 18, 4:09 PM
Unknown Object (File)
Tue, Dec 17, 12:48 PM
Unknown Object (File)
Fri, Dec 13, 9:54 PM
Unknown Object (File)
Fri, Dec 13, 9:54 PM
Subscribers
None

Details

Summary

A straightforward migration: use progressV2 shared value and use useAnimatedStyle

Depends on D14129

Test Plan

Flow and I'd like to navigate to this modal in the app but as far as I searched there is no way to navigate to it so I'm wondering if this modal is still in use. If it's no longer used we can just remove it?

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/navigation/action-result-modal.react.js
38–43 ↗(On Diff #46349)

Nit

45 ↗(On Diff #46349)

We usually wrap things like this where the array is re-created on each render with a React.useMemo

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

Rebase and address feedback