-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[NAV UPGRADE - 4] Consolidate navigation API call style #23765
Copy link
Copy link
Closed
Labels
release-7.67.0Issue or pull request that will be included in release 7.67.0Issue or pull request that will be included in release 7.67.0release-7.68.0Issue or pull request that will be included in release 7.68.0Issue or pull request that will be included in release 7.68.0team-mobile-platformMobile Platform teamMobile Platform team
Metadata
Metadata
Assignees
Labels
release-7.67.0Issue or pull request that will be included in release 7.67.0Issue or pull request that will be included in release 7.67.0release-7.68.0Issue or pull request that will be included in release 7.68.0Issue or pull request that will be included in release 7.68.0team-mobile-platformMobile Platform teamMobile Platform team
Type
Fields
Give feedbackNo fields configured for issues without a type.
What is this about?
There are currently different styles associated with how navigation API calls are made in the codebase. For example, we'll see:
This change proposes to consolidate these styles to remain consistent across the app. The style proposed is to use inline strings, which removes the need to manage another source of screen names as constants. Another proposal is to just invoke the navigation API instead of using HOFs to reduce complexity. The navigation methods is already aware of the global navigation types, immediately letting devs know if TS errors are present.
Scenario
No response
Design
No response
Technical Details
Threat Modeling Framework
No response
Acceptance Criteria
Stakeholder review needed before the work gets merged
References