Page MenuHomePhabricator

[native] Finish converting LoggedOutModal to function component
ClosedPublic

Authored by ashoat on May 22 2024, 7:43 AM.
Tags
None
Referenced Files
F3376872: D12191.diff
Wed, Nov 27, 2:41 AM
F3374467: D12191.id40561.diff
Tue, Nov 26, 3:40 PM
Unknown Object (File)
Sat, Nov 16, 1:58 AM
Unknown Object (File)
Sat, Nov 9, 3:34 PM
Unknown Object (File)
Sat, Nov 9, 12:13 PM
Unknown Object (File)
Fri, Nov 8, 11:24 PM
Unknown Object (File)
Fri, Nov 8, 6:29 AM
Unknown Object (File)
Sun, Nov 3, 9:08 PM
Subscribers

Details

Summary

As a first step towards replacing the Reanimated 1 syntax in LoggedOutModal with Reanimated 2 syntax (ENG-8146), I'm converting the class component to a function component.

This diff makes minimal changes. In a later diff I'll make some improvements to memoization now that we're using a function component and can use React.useMemo and friends.

Depends on D12190

Test Plan

I tested this diff stack by playing around with LoggedOutModal on my iOS simulator in my local environment:

  1. I navigated to LogInPanel and back
  2. I navigated to LegacyRegisterPanel and back
  3. I navigated to FullscreenSIWEPanel and back
  4. I navigated to QRCodeSignInNavigator and back
  5. I navigated to Registration and back

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable