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
F6141365: D5402.id17765.diff
Tue, Apr 22, 7:28 AM
Unknown Object (File)
Mon, Apr 21, 11:37 PM
Unknown Object (File)
Sun, Apr 20, 2:04 AM
Unknown Object (File)
Thu, Apr 17, 2:04 PM
Unknown Object (File)
Thu, Apr 17, 11:16 AM
Unknown Object (File)
Thu, Apr 17, 5:55 AM
Unknown Object (File)
Wed, Apr 16, 7:52 AM
Unknown Object (File)
Sat, Apr 12, 5:16 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