mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
This minor is non-breaking for Router users, since it's undocumented to the public API, but **is breaking** for Start alpha users.
This changes the options signature for meta from this:
```tsx
createRoute({
meta: () => [
...
],
links: () => [
...
],
})
```
to this:
```tsx
createRoute({
head: () => ({
meta: [
...
],
links: [
...
],
})
})
```
|
History
|
|
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.dev.json | ||
| tsconfig.json | ||
| vite.config.js | ||
Example
To run this example:
npm installoryarnnpm startoryarn start