TanStack
router
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(router-generator): scaffold plain TypeScript routes without JSX Creating an empty `.ts` file within the routes folder broke all route generation with the error: `SyntaxError: Missing semicolon. (8:19)`. The generator scaffolds empty route files with the targets built in templates, which for React & Solid includes a JSX hello world component. This then fails to parse for plain TypeScript files due to Babel's jsx plugin being omitted for `.ts` filenames. This throws an error before the file is written, so the route file remains empty, and the route tree isn't generated until the file is deleted or populated by hand. This change opts to scaffold plain TypeScript files with no component instead, as a `.ts` file is almost always a server route: ``` import { createFileRoute } from '@tanstack/react-router' export const Route = createFileRoute('/api/foo')({}) ``` Vue templates and custom user scaffolding remain unchanged.
nathan-logan:fix/router-generator-plain-ts-route-scaffolding
4 hours ago
perf(router-core): hydrate without awaiting code-split component chunks hydrate() awaited loadRouteChunk() for every committed match before setMatches, so a React root committed nothing, not even chrome from the entry chunk, until the page's whole component closure had downloaded. React keeps a dehydrated Suspense boundary's server HTML while a lazyRouteComponent suspends, so the React Router now sets _hydrateWithoutComponentChunks and hydrate() only starts those loads. A lane with unmerged lazyFn options still waits, because such a route has no component yet and would render <Outlet /> in its place. Solid and Vue do not set the flag and keep the previous behavior. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Tarek-kharsa:perf/hydrate-without-awaiting-component-chunks
5 hours ago
ci: Version Packages (#8486) ci: changeset release Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
main
7 hours ago
ci: changeset release
changeset-release/main
7 hours ago
Merge branch 'main' into fix/react-solid-link-hash-hydration
fix/react-solid-link-hash-hydration
8 hours ago
Merge branch 'main' into bench/react-client-hydration
bench/react-client-hydration
8 hours ago
Merge branch 'main' into fix/vue-link-hash-hydration
fix/vue-link-hash-hydration
8 hours ago
perf(react-router): avoid redundant link hydration updates (#8435) * perf(react-router): avoid redundant link hydration updates * refactor(react-router): hide hydration flag behind internal overload
main
8 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(router-generator): scaffold plain TypeScript routes without JSX
#8481
13 hours ago
4cdb33e
nathan-logan:fix/router-generator-plain-ts-route-scaffolding
CodSpeed Performance Gauge
+4%
perf(router-core): hydrate without awaiting code-split component chunks
#8484
11 hours ago
da70ff3
Tarek-kharsa:perf/hydrate-without-awaiting-component-chunks
CodSpeed Performance Gauge
0%
ci: Version Packages
#8486
8 hours ago
374ed8d
changeset-release/main
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs