Skip to content

feat: add standard navigation compatibility#13124

Merged
satya164 merged 1 commit into
mainfrom
@satya164/standard
Jun 8, 2026
Merged

feat: add standard navigation compatibility#13124
satya164 merged 1 commit into
mainfrom
@satya164/standard

Conversation

@satya164
Copy link
Copy Markdown
Member

this adds a createStandardNavigationFactories helper that works with standard-navigation.

usage:

export interface MyStackTypeBag extends StandardNavigationTypeBagBase {
  State: StackNavigationState<this['ParamList']>;
  ActionHelpers: StackActionHelpers<this['ParamList']>;
  ScreenOptions: MyStackOptions;
  EventMap: MyStackEventMap;
  NavigatorProps: MyStackNavigatorProps;
  RouterOptions: StackRouterOptions;
}

export const {
  createNavigator: createMyStackNavigator,
  createScreen: createMyStackScreen,
} = createStandardNavigationFactories<MyStackTypeBag>(
  MyStackNavigator,
  StackRouter
);

@socket-security
Copy link
Copy Markdown

socket-security Bot commented May 26, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedstandard-navigation@​0.0.7701009992100

View full report

@netlify
Copy link
Copy Markdown

netlify Bot commented May 26, 2026

Deploy Preview for react-navigation-example ready!

Name Link
🔨 Latest commit f0c7cb8
🔍 Latest deploy log https://app.netlify.com/projects/react-navigation-example/deploys/6a26c0095e61020008e34495
😎 Deploy Preview https://deploy-preview-13124--react-navigation-example.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 26, 2026

TypeScript performance impact

Baseline: origin/main (a556038)
Current: 7f56644 (7f56644)
Runs: 5

tsc type-check

Metric Baseline Current Δ
Types 499,128 505,923 +1.4%
Instantiations 4,300,282 4,329,708 +0.7%
Memory 1,618 MB 1,657 MB +2.4%
Check time 21.38 s 21.82 s +2.1%
Total time 23.76 s 24.18 s +1.8%

tsserver latency

Operation Baseline Current Δ
Open + first check 13.72 s 13.67 s -0.4%
Hover 16.4 ms 16.9 ms +2.9%
Completion 13.2 ms 12.1 ms -8.9%
Re-check after edit 12.03 s 12.14 s +0.9%

@satya164 satya164 force-pushed the @satya164/standard branch from df45ca9 to a0f444f Compare May 26, 2026 21:56
@satya164 satya164 force-pushed the @satya164/standard branch 7 times, most recently from 0d32b8f to 4c3fdf0 Compare June 8, 2026 13:03
this adds a `createStandardNavigationFactories` helper that works with
[`standard-navigation`](https://github.com/react-navigation/standard-navigation).

usage:

```ts
export interface MyStackTypeBag extends StandardNavigationTypeBagBase {
  State: StackNavigationState<this['ParamList']>;
  ActionHelpers: StackActionHelpers<this['ParamList']>;
  ScreenOptions: MyStackOptions;
  EventMap: MyStackEventMap;
  NavigatorProps: MyStackNavigatorProps;
  RouterOptions: StackRouterOptions;
}

export const {
  createNavigator: createMyStackNavigator,
  createScreen: createMyStackScreen,
} = createStandardNavigationFactories<MyStackTypeBag>(
  MyStackNavigator,
  StackRouter
);
```
@satya164 satya164 force-pushed the @satya164/standard branch from 4c3fdf0 to f0c7cb8 Compare June 8, 2026 13:13
@satya164 satya164 merged commit ef2a900 into main Jun 8, 2026
10 of 11 checks passed
@satya164 satya164 deleted the @satya164/standard branch June 8, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant