Page MenuHomePhabricator

[native] Move tabNavigator listener to useEffect
ClosedPublic

Authored by michal on Sep 21 2022, 4:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 19, 4:44 PM
Unknown Object (File)
Thu, Sep 19, 4:44 PM
Unknown Object (File)
Thu, Sep 19, 4:43 PM
Unknown Object (File)
Thu, Sep 19, 4:39 PM
Unknown Object (File)
Aug 23 2024, 2:09 AM
Unknown Object (File)
Aug 5 2024, 9:26 PM
Unknown Object (File)
Jun 30 2024, 7:03 PM
Unknown Object (File)
Jun 29 2024, 3:02 AM
Subscribers

Details

Summary

ENG-1855, raised in this diff
Moves the code from mount methods to a useEffect in the ConnectedThreadSettings.

Test Plan
  • Open thread settings, click on the profile tab
    • click on the "inbox" tab -> you should return to the thread settings
    • click on the "inbox" tab again -> you should return to the chat list
  • Open thread settings, change some option, click on the "inbox" tab -> you should return to the chat list but only after the change is saved

Diff Detail

Repository
rCOMM Comm
Branch
eng1855
Lint
No Lint Coverage
Unit
No Test Coverage