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)
Wed, Jun 12, 9:12 PM
Unknown Object (File)
Tue, Jun 11, 4:46 PM
Unknown Object (File)
Mon, Jun 3, 12:04 PM
Unknown Object (File)
Apr 11 2024, 7:04 PM
Unknown Object (File)
Mar 11 2024, 5:22 PM
Unknown Object (File)
Mar 7 2024, 2:02 AM
Unknown Object (File)
Feb 22 2024, 12:30 PM
Unknown Object (File)
Feb 22 2024, 5:15 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