Skip to content

docs: Update TanStack Router guide #8632

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

Merged
merged 2 commits into from
Jul 25, 2025
Merged

docs: Update TanStack Router guide #8632

merged 2 commits into from
Jul 25, 2025

Conversation

devongovett
Copy link
Member

Since we pass through DOM events now, it's possible to use TanStack Router's createLink function directly instead of using RouterProvider. This has the benefit that it automatically supports the TypeScript features of TanStack, and also works with their pre-fetching. Updating the docs accordingly. Also sent a PR to update the docs on the TanStack site: TanStack/router#4757

@rspbot
Copy link

rspbot commented Jul 24, 2025

```

In you app, use these components instead of importing directly from `react-aria-components`.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
In you app, use these components instead of importing directly from `react-aria-components`.
In your app, use these components instead of importing directly from `react-aria-components`.

```

In you app, use these components instead of importing directly from `@adobe/react-spectrum`.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
In you app, use these components instead of importing directly from `@adobe/react-spectrum`.
In your app, use these components instead of importing directly from `@adobe/react-spectrum`.

Copy link
Member

Choose a reason for hiding this comment

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

Do we wanna perhaps list the version (aka this latest release) that is needed for this to work? I know sometimes people get confused since they don't know when a new feature/fix got added/updated

@rspbot
Copy link

rspbot commented Jul 25, 2025

@devongovett devongovett merged commit 2d9262c into main Jul 25, 2025
31 checks passed
@devongovett devongovett deleted the tanstack-router-docs branch July 25, 2025 00:23
@pawelblaszczyk5
Copy link

I'be checked the demo from TanStack Router PR side, it seems like it doesn't work correctly with enter click? 🤔 It performs full side reload. Any ideas?

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.

6 participants