Avatar for the TanStack user
TanStack
router
BlogDocsChangelog

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
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

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%
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