Skip to content

feat(routing): index TanStack Start server endpoints - #4

Open
bompus wants to merge 1 commit into
codex/react-router-frameworkfrom
codex/tanstack-start-routes
Open

feat(routing): index TanStack Start server endpoints#4
bompus wants to merge 1 commit into
codex/react-router-frameworkfrom
codex/tanstack-start-routes

Conversation

@bompus

@bompus bompus commented Sep 7, 2026

Copy link
Copy Markdown
Owner

TanStack Start's server-only files previously appeared as pages without HTTP handlers. Exported file routes now produce method-qualified endpoints from literal server.handlers tables and the documented createHandlers callback form. Named handlers and direct calls inside inline handlers are linked; middleware is excluded. A route with a page component and HTTP handlers keeps both representations.

Computed/spread tables, custom factories, member handlers, and update chains stay unsupported. Type-only imports and absent components cannot invent endpoints or pages; RPC functions receive no fabricated public URL.

Framework detection now refreshes during sync using the already-collected file list, allowing a newly added dependency and route to be indexed in both full and scoped sync. Scoped detection retains other packages' known frameworks.

Validation: build passed; 62 WASM focused/control tests passed; full native suite passed (4,375 tests, 46 skipped). Tests cover handler bindings, navigation to the page rather than the endpoint, middleware/local exclusions, dynamic negatives, edits/deletion, and adding Start after initial indexing. Independent review findings were fixed and rechecked.

Step 2 of the approved application-router plan; stacked on #3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant