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
Unknown Object (File)
Wed, Mar 26, 1:27 PM
Unknown Object (File)
Sat, Mar 15, 12:13 PM
Unknown Object (File)
Mar 2 2025, 10:39 PM
Unknown Object (File)
Mar 2 2025, 10:39 PM
Unknown Object (File)
Mar 2 2025, 10:26 PM
Unknown Object (File)
Feb 22 2025, 1:15 PM
Unknown Object (File)
Feb 15 2025, 3:17 AM
Unknown Object (File)
Feb 12 2025, 7:17 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
Lint Not Applicable
Unit
Tests Not Applicable