0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
router/examples/react/start-basic-auth/app/routes
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
..
_authed feat(start): move scripts,links, and meta to the head (#2571) 2024-11-17 15:19:18 -07:00
__root.tsx feat(start): move scripts,links, and meta to the head (#2571) 2024-11-17 15:19:18 -07:00
_authed.tsx Chained Server Fn Syntax, ServerFn Middleware (#2513) 2024-11-14 09:43:20 -07:00
index.tsx feat(react-router): add context option to route (#2104) 2024-08-20 13:39:17 -06:00
login.tsx feat(react-router): add context option to route (#2104) 2024-08-20 13:39:17 -06:00
logout.tsx Chained Server Fn Syntax, ServerFn Middleware (#2513) 2024-11-14 09:43:20 -07:00
signup.tsx Chained Server Fn Syntax, ServerFn Middleware (#2513) 2024-11-14 09:43:20 -07:00