Page MenuHomePhabricator

[native] [9/34] ReactNav6: separate StackNavigationProp from StackNavigationHelpers
ClosedPublic

Authored by ashoat on Oct 20 2022, 6:12 AM.
Tags
None
Referenced Files
F5275232: D5402.diff
Mon, Apr 7, 5:29 AM
Unknown Object (File)
Tue, Apr 1, 7:14 PM
Unknown Object (File)
Thu, Mar 27, 9:20 PM
Unknown Object (File)
Wed, Mar 19, 12:18 PM
Unknown Object (File)
Wed, Mar 12, 2:47 PM
Unknown Object (File)
Mar 6 2025, 4:45 AM
Unknown Object (File)
Mar 2 2025, 10:39 PM
Unknown Object (File)
Mar 2 2025, 10:39 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.

Note that I have left off setParams from NavigationHelpers in this diff. That's because I need to make some changes to our codebase before I can do that without leading to Flow errors... otherwise the two setParams will collide. I will reintroduce setParams to NavigationHelpers in a later diff in the stack.

Depends on D5401

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