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
Tanner Linsley
fd692cf77d
feat: New Serialization Paradigm ( #1824 )
...
* checkpoint
* fix: config
* checkpoint
* testing fixes (#1679 )
* examples: init trellaux
* feat: Better serialization/streaming, RSC proof of concept
* fixup server-handler
* fix: update deps and lock
* fix: remove rscFrom
* fix: remove useLoaderDataTransform
* fix: min react version
* chore: lockfile
* style: prettier fail
* chore: swap expect-error for ignore
* chore(react-router): try coercing the types
* chore: put this back in
* fix: some tests
* remove conditions
* fix tests
* update lockfile
* fix: refactor dehydrated data
* Update docs
* fix: remove unused deferred logic
* fix port
* nevermind
* fix: remove rebase garbage
* disable playwright for a hot minute
* oops, actually disable it now
* fix: prettier formatting
* fix: do not ignore app.config files
---------
Co-authored-by: Nikhil Saraf <nsaraf98@gmail.com>
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-06-28 09:45:01 -06:00