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

2 commits

Author SHA1 Message Date
Birk Skyum
f616ba9c07
chore: move start e2e and example projects from ./app to ./src (#3712)
Using the below setting, the examples and e2e projects opt into the
future behavior of using `./src` as the app directory, rather than
'./app':

```ts
tsr: {
  appDirectory: 'src',
},
```

The `./src` directory is typically used for pure-TS Router projects, as
well as CRA. Thus this reduces the churn for a TS Router SPA to opt into
server features with TS Start.
2025-03-09 23:35:20 +01:00
Tanner Linsley
2e74974c66
feat: static server functions (#3352)
* We're back baby!

fix: type: 'static', .type(type | () => type)

fix: allow customizing the serverFnStaticCache impl

fix: also allow for customizing the client side fetch, duh

* docs: static server function docs

* fix: remove unnecessary tuple option

* fix: createServerFnStaticCache import location

* fix: lockfile

* fix: types
2025-02-12 16:23:30 -07:00