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.
Details
Details
I tested this diff stack by playing around with LoggedOutModal on my iOS simulator in my local environment:
- I navigated to LogInPanel and back
- I navigated to LegacyRegisterPanel and back
- I navigated to FullscreenSIWEPanel and back
- I navigated to QRCodeSignInNavigator and back
- I navigated to Registration and back
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
native/account/logged-out-modal.react.js | ||
---|---|---|
774–776 | Why do we have to do this? |
native/account/logged-out-modal.react.js | ||
---|---|---|
774–776 | To be honest, I'm not entirely sure, but I thought it was safer to keep the logic as-is. This is ported over from guardedSetState, which was previously passed in to setStateForContainer, which created the old setLogInState |