Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy queryParams & hash in props route #153

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Conversation

willybrauner
Copy link
Member

@willybrauner willybrauner commented Nov 2, 2023

fix #151

props route returns queryParams & hash

export type TRouteProps = {
  params?: TParams
  queryParams?: TQueryParams
  hash?: string
  [x: string]: any
}

Copy link

codesandbox-ci bot commented Nov 2, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e5aae80:

Sandbox Source
example-client Configuration
example-ssr Configuration

@willybrauner
Copy link
Member Author

willybrauner commented Nov 2, 2023

size-limit report 📦

Path Size
@cher-ami/router 8.08 KB (+0.03% 🔺)

@willybrauner willybrauner merged commit b9e93be into main Nov 9, 2023
3 checks passed
@willybrauner willybrauner deleted the props-return-all-params branch November 9, 2023 15:47
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.

pass queryParams & hash as getStaticProps params
1 participant