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)
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
Unknown Object (File)
Feb 22 2024, 3:54 AM
Unknown Object (File)
Feb 22 2024, 3:53 AM
Unknown Object (File)
Feb 21 2024, 3:40 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable