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
F3249710: D5402.id17765.diff
Fri, Nov 15, 4:33 PM
F3249450: D5402.id17680.diff
Fri, Nov 15, 2:48 PM
F3249066: D5402.diff
Fri, Nov 15, 12:16 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:07 AM
Unknown Object (File)
Mon, Oct 28, 5:05 AM
Unknown Object (File)
Wed, Oct 16, 9:35 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
No Lint Coverage
Unit
No Test Coverage