0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/examples/react/basic-react-query
Sean Cassiere 4ae6ca9d6b
feat(start): move scripts,links, and meta to the head (#2571)
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 2024-11-17 15:19:18 -07:00
..
src feat(start): move scripts,links, and meta to the head (#2571) 2024-11-17 15:19:18 -07:00
.gitignore test(examples): add e2e testing to ensure the basic examples work across releases (#1990) 2024-07-19 16:09:11 +12:00
index.html chore: cleanup styles and eslint errors in the spa examples (#1971) 2024-07-17 02:28:39 +12:00
package.json release: v1.81.14 2024-11-15 23:17:18 +00:00
README.md fix: do not recreate history on fast refresh 2023-12-04 09:24:15 -07:00
tsconfig.dev.json fix: merge vinxi branch 2024-05-18 01:24:47 -06:00
tsconfig.json chore: run typecheck for examples after building (#2285) 2024-09-08 00:52:37 +02:00
vite.config.js fix: do not recreate history on fast refresh 2023-12-04 09:24:15 -07:00

Example

To run this example:

  • npm install or yarn
  • npm start or yarn start