0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
Commit graph

3 commits

Author SHA1 Message Date
Sean Cassiere
1f7700b806
refactor(start): better named exports for the start-vite-plugin (#2794) 2024-11-22 21:49:11 +13:00
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: [
      ...
    ],
  })
})
```
2024-11-17 15:19:18 -07:00
ridwansameer
89f920941b
chore(start): add Start example with supabase for auth (#2277)
* Example: Add Supabase Auth example

* Docs: Add Supabase auth to docs config

* Fix: Remove extra files and rename supabase

* Fix: remove comment

* ci: apply automated fixes

* Refactor: Rename supabase client to not violate react hook rules

---------

Co-authored-by: Ridwan Sameer <ridsameer2000@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-09-07 15:13:00 +12:00