Page MenuHomePhabricator

[native] [10/34] ReactNav6: separate TabNavigationProp from TabNavigationHelpers
ClosedPublic

Authored by ashoat on Oct 20 2022, 6:13 AM.
Tags
None
Referenced Files
F3249362: D5403.diff
Fri, Nov 15, 1:52 PM
Unknown Object (File)
Mon, Nov 11, 1:51 AM
Unknown Object (File)
Mon, Oct 28, 5:08 AM
Unknown Object (File)
Mon, Oct 28, 5:08 AM
Unknown Object (File)
Mon, Oct 28, 5:05 AM
Unknown Object (File)
Sep 26 2024, 7:08 PM
Unknown Object (File)
Sep 26 2024, 7:08 PM
Unknown Object (File)
Sep 26 2024, 7:07 PM
Subscribers

Details

Summary

We want to type setParams correctly for both the specific-screen and any-screen-on-a-navigator case. As a result, the type of setParams is incompatible between the two.

The previous diff handled Stack, which is used a lot in the app. This diff handles Tab, which is used less in the app... but since there are three ReactNav packages with Tab navigators, this diff involves more changes to the libdefs.

Depends on D5402

Test Plan

Flow + ran the app on my phone and played around with it

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage