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
Unknown Object (File)
Sat, Jan 4, 5:47 AM
Unknown Object (File)
Fri, Dec 27, 5:18 PM
Unknown Object (File)
Fri, Dec 27, 5:18 PM
Unknown Object (File)
Fri, Dec 27, 5:16 PM
Unknown Object (File)
Fri, Dec 27, 4:58 PM
Unknown Object (File)
Thu, Dec 26, 6:14 AM
Unknown Object (File)
Nov 25 2024, 3:40 AM
Unknown Object (File)
Nov 25 2024, 3:39 AM
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
No Lint Coverage
Unit
No Test Coverage