Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _artifacts/skill_spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ TanStack Router is a type-safe router for React and Solid applications with buil

| # | Mistake | Priority | Source | Cross-skill? |
| --- | --------------------------------------------- | -------- | ----------------------------- | ------------ |
| 1 | Interpolating path params into to string | CRITICAL | docs/guide/navigation | navigation |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i think this is the to= param here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks!

| 1 | Interpolating path params into `to` string | CRITICAL | docs/guide/navigation | navigation |
| 2 | Using \* for splat routes instead of $ | MEDIUM | docs/routing/routing-concepts | — |
| 3 | Using curly braces for basic dynamic segments | MEDIUM | docs/guide/path-params | — |

Expand Down
2 changes: 1 addition & 1 deletion docs/router/api/router/NotFoundErrorType.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The `NotFoundError` object accepts/contains the following properties:

- Type: `any`
- Optional
- Custom data that is passed into to `notFoundComponent` when the not-found error is handled
- Custom data that is passed into `notFoundComponent` when the not-found error is handled

### `throw` property

Expand Down
2 changes: 1 addition & 1 deletion packages/react-router/tests/useNavigate.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2328,7 +2328,7 @@ describe.each([{ basepath: '' }, { basepath: '/basepath' }])(
navigate({ to: '.', params: { param: 'bar' } as any })
}
>
Navigate to to . with param:bar
Navigate to . with param:bar
</button>
<Outlet />
</>
Expand Down
Loading