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

feat: pageprops type improvements with docs for use #1001

Merged
merged 4 commits into from
Nov 13, 2024

Conversation

tylersayshi
Copy link
Contributor

happy to add this to more examples if we want to

Copy link

vercel bot commented Nov 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
waku ✅ Ready (Inspect) Visit Preview Nov 13, 2024 2:09am

Copy link

codesandbox-ci bot commented Nov 12, 2024

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.


```tsx
// ./src/pages/about.tsx
import { PageProps } from 'waku/router/client';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Importing "client" in the server file isn't very nice.

Hm, I think you meant this?

Suggested change
import { PageProps } from 'waku/router/client';
import type { PageProps } from 'waku/router';

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Importing "client" in the server file isn't very nice.

hm I agree... could we export this from waku/router or somewhere else?

and yes good catch

tylersayshi and others added 2 commits November 12, 2024 10:41
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
Copy link
Owner

@dai-shi dai-shi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dai-shi dai-shi mentioned this pull request Nov 13, 2024
87 tasks
@dai-shi dai-shi merged commit 8986230 into dai-shi:main Nov 13, 2024
26 checks passed
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.

2 participants