Skip to content

solid: announceRoutes takes either router - #5

Merged
ryansolid merged 1 commit into
mainfrom
announce-either-router
Sep 6, 2026
Merged

solid: announceRoutes takes either router#5
ryansolid merged 1 commit into
mainfrom
announce-either-router

Conversation

@ryansolid

Copy link
Copy Markdown
Member

A Solid app on TanStack Router had to drop to announcePages +
tanstackRouterPages by hand; both helpers live in the same module, so
announceRoutes now tells the two instances apart by shape (a TanStack
instance carries routesByPath) and the rest of @solidjs/prerender was
already router-agnostic. Verified the generated entry runs start.setup
inside provideRequestEvent, so the call works where the TanStack router
is built.

Co-authored-by: Cursor cursoragent@cursor.com

A Solid app on TanStack Router had to drop to announcePages +
tanstackRouterPages by hand; both helpers live in the same module, so
announceRoutes now tells the two instances apart by shape (a TanStack
instance carries routesByPath) and the rest of @solidjs/prerender was
already router-agnostic. Verified the generated entry runs start.setup
inside provideRequestEvent, so the call works where the TanStack router
is built.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ryansolid
ryansolid merged commit ef89ba2 into main Sep 6, 2026
4 checks passed
@ryansolid
ryansolid deleted the announce-either-router branch September 6, 2026 07:30
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