Birk Skyum
73af05551e
refactor(start-client-core): move createServerFn to core ( #3727 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 10:40:34 +01:00
Birk Skyum
ceeaff113a
refactor: use router-core in server-functions packages ( #3726 )
2025-03-10 10:25:07 +01:00
Birk Skyum
77a4dee2ed
chore(start-client-core): move middleware and serverfn to core ( #3717 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 04:11:46 +01:00
Birk Skyum
e47b57ccb0
chore(start-client-core): move envonly and json to core ( #3716 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 03:02:08 +01:00
Birk Skyum
ef79bfd5e5
chore(start-client-core): move createIsomorphicFn to core ( #3715 )
2025-03-10 02:27:02 +01:00
Birk Skyum
97e2ed3f30
refactor(start-client-core): move ssr-client to core package ( #3714 )
2025-03-10 02:00:44 +01:00
Birk Skyum
398458e16d
chore(start-client-core): move mergeHeaders and startSerializer to shared package ( #3709 )
...
Move the 100% duplicates:
- ./headers.ts
- ./serializer.ts
- ./tests/transformer.test.tsx
From solid/react-start-client to start-client-core.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 00:09:53 +01:00
Birk Skyum
fcecd7cfa3
chore(react-start,solid-start): update imports to use router-core ( #3703 )
...
Update start package imports after much router code has been moved to
the agnostic router-core package.
2025-03-09 12:49:14 +01:00
Jon Sun
d467952025
fix(react-start-client): export ServerFnResponseType type ( #3605 )
...
Example
```
import { createMiddleware } from "@tanstack/react-start";
export const middleware = createMiddleware();
```
Issue
```
The inferred type of middleware cannot be named without a reference to ../../../../node_modules/@tanstack/react-start-client/dist/esm/createServerFn . This is likely not portable. A type annotation is necessary.
```
Solution
exporting `ServerFnResponseType` resolves this.
2025-02-28 12:38:13 +01:00
Manuel Schiller
dda8d65ff1
feat(start): allow to return raw response from server function ( #3532 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-27 23:54:08 +01:00
Manuel Schiller
fce71c534e
fix(react-start-client): execute head and scripts after custom hydration ( #3594 )
2025-02-27 22:31:34 +01:00
Birk Skyum
0cf5e3e846
refactor(react-start): move start packages to react-start ( #3563 )
...
move start -> react-start, and keep start as proxy packages for
backwards compat.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-25 22:05:25 +01:00