René's URL Explorer Experiment


Title: fix(create): use shared router factory in router-only apps by gs0428 · Pull Request #481 · TanStack/cli · GitHub

Open Graph Title: fix(create): use shared router factory in router-only apps by gs0428 · Pull Request #481 · TanStack/cli

X Title: fix(create): use shared router factory in router-only apps by gs0428 · Pull Request #481 · TanStack/cli

Description: The official TanStack CLI - Project Scaffolding, MCP Server, Agent Skills Installation, etc - fix(create): use shared router factory in router-only apps by gs0428 · Pull Request #481 · TanStack/cli

Open Graph Description: React and Solid router-only apps now call the shared getRouter() factory, so router customizations apply and the Register declaration stays in one place. Adding Query to either framework wraps the ...

X Description: React and Solid router-only apps now call the shared getRouter() factory, so router customizations apply and the Register declaration stays in one place. Adding Query to either framework wraps the ...

Opengraph URL: https://github.com/TanStack/cli/pull/481

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d1d4359a-ecda-d6fd-9319-5df03e92b4dc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEB00:33B244:271533B:334022D:6AF99E82
html-safe-nonce449c395dab024b0f1a94c31a535e095458a4b0d24284a4a9d60c6f057268298b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjAwOjMzQjI0NDoyNzE1MzNCOjMzNDAyMkQ6NkFGOTlFODIiLCJ2aXNpdG9yX2lkIjoiODE2MzM3NzM3ODQ2NjgzMjAwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaced77fee52c9f430a4489b280ec2b6eddc30b5eb59aa272f6f96132d7b7f1c98b
hovercard-subject-tagpull_request:3935515367
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/TanStack/cli/481/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e77ec934f3511f301129e30ed2d38d48e4c9e782f53a63e3f9c5daa8f3f65527/TanStack/cli/pull/481
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e77ec934f3511f301129e30ed2d38d48e4c9e782f53a63e3f9c5daa8f3f65527/TanStack/cli/pull/481
og:image:altReact and Solid router-only apps now call the shared getRouter() factory, so router customizations apply and the Register declaration stays in one place. Adding Query to either framework wraps the ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegs0428
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/TanStack/cli git https://github.com/TanStack/cli.git
octolytics-dimension-user_id72518640
octolytics-dimension-user_loginTanStack
octolytics-dimension-repository_id932949058
octolytics-dimension-repository_nwoTanStack/cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id932949058
octolytics-dimension-repository_network_root_nwoTanStack/cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/TanStack/cli/pull/481#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fcli%2Fpull%2F481
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fcli%2Fpull%2F481
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=TanStack%2Fcli
Reloadhttps://github.com/TanStack/cli/pull/481
Reloadhttps://github.com/TanStack/cli/pull/481
Reloadhttps://github.com/TanStack/cli/pull/481
TanStackhttps://github.com/TanStack
clihttps://github.com/TanStack/cli
Codehttps://github.com/TanStack/cli
Issues13 (13)https://github.com/TanStack/cli/issues
Pull requests23 (23)https://github.com/TanStack/cli/pulls
Discussionshttps://github.com/TanStack/cli/discussions
Actionshttps://github.com/TanStack/cli/actions
Projectshttps://github.com/TanStack/cli/projects
Security and qualityhttps://github.com/TanStack/cli/security
Insightshttps://github.com/TanStack/cli/pulse
https://github.com/TanStack/cli
tannerlinsleyhttps://github.com/tannerlinsley
TanStack:mainhttps://github.com/TanStack/cli/tree/main
gs0428:gs0428/router-only-duplicate-registerhttps://github.com/gs0428/cli/tree/gs0428/router-only-duplicate-register
Conversationhttps://github.com/TanStack/cli/pull/481
Commits5 (5)https://github.com/TanStack/cli/pull/481/commits
Checkshttps://github.com/TanStack/cli/pull/481/checks
Files changedhttps://github.com/TanStack/cli/pull/481/files
fix(create): use shared router factory in router-only appshttps://github.com/TanStack/cli/pull/481#top
tannerlinsleyhttps://github.com/tannerlinsley
TanStack:mainhttps://github.com/TanStack/cli/tree/main
gs0428:gs0428/router-only-duplicate-registerhttps://github.com/gs0428/cli/tree/gs0428/router-only-duplicate-register
https://github.com/gs0428
gs0428https://github.com/gs0428
Jun 25, 2026https://github.com/TanStack/cli/pull/481#issue-4744188731
Please reload this pagehttps://github.com/TanStack/cli/pull/481
#480https://github.com/TanStack/cli/issues/480
#522https://github.com/TanStack/cli/issues/522
Please reload this pagehttps://github.com/TanStack/cli/pull/481
gs0428https://github.com/gs0428
June 25, 2026 22:18https://github.com/TanStack/cli/pull/481#commits-pushed-da85380
https://github.com/gs0428
fix: use shared router factory in router-only entrypointshttps://github.com/TanStack/cli/pull/481/commits/da8538039f212f28bf7af83b926f6732f498dc67
da85380https://github.com/TanStack/cli/pull/481/commits/da8538039f212f28bf7af83b926f6732f498dc67
https://github.com/gs0428
test: cover router-only shared router templateshttps://github.com/TanStack/cli/pull/481/commits/58370320bc6747fd91f5c25b09dd79e5166545e8
5837032https://github.com/TanStack/cli/pull/481/commits/58370320bc6747fd91f5c25b09dd79e5166545e8
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 25, 2026https://github.com/TanStack/cli/pull/481#issuecomment-4799747228
Please reload this pagehttps://github.com/TanStack/cli/pull/481
https://app.coderabbit.ai/change-stack/TanStack/cli/pull/481?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment
e4b8ef5https://github.com/TanStack/cli/commit/e4b8ef506bcdfbcdf75f2bc9d06143d68a4dfe6a
b99bf94https://github.com/TanStack/cli/commit/b99bf948a5e652829e79f59cea5caf39f3a3393f
https://camo.githubusercontent.com/8f159bbb8848bd140c752331ef9b58f49be054035a4d90b12ab90a8478776bde/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7761726e696e672e737667
https://camo.githubusercontent.com/8f159bbb8848bd140c752331ef9b58f49be054035a4d90b12ab90a8478776bde/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7761726e696e672e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=TanStack/cli&utm_content=481
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/TanStack/cli/pull/481
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jun 25, 2026 https://github.com/TanStack/cli/pull/481#pullrequestreview-4571336999
View reviewed changes https://github.com/TanStack/cli/pull/481/files/58370320bc6747fd91f5c25b09dd79e5166545e8
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/TanStack/cli/pull/481#pullrequestreview-4571336999
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
12c31dfhttps://github.com/TanStack/cli/commit/12c31dfb429ec057af9ddc5f85f492b0b0b22979
5837032https://github.com/TanStack/cli/commit/58370320bc6747fd91f5c25b09dd79e5166545e8
Please reload this pagehttps://github.com/TanStack/cli/pull/481
gs0428https://github.com/gs0428
June 25, 2026 22:40https://github.com/TanStack/cli/pull/481#commits-pushed-a858053
https://github.com/gs0428
test: assert router provider import in router-only templateshttps://github.com/TanStack/cli/pull/481/commits/a858053ea3d819cfe865db5f57a89468230e6536
a858053https://github.com/TanStack/cli/pull/481/commits/a858053ea3d819cfe865db5f57a89468230e6536
https://github.com/tannerlinsley
fix(create): validate shared router factories in both frameworkshttps://github.com/TanStack/cli/pull/481/commits/e4b8ef506bcdfbcdf75f2bc9d06143d68a4dfe6a
e4b8ef5https://github.com/TanStack/cli/pull/481/commits/e4b8ef506bcdfbcdf75f2bc9d06143d68a4dfe6a
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Nov 2, 2026https://github.com/TanStack/cli/pull/481#issuecomment-6566950770
Please reload this pagehttps://github.com/TanStack/cli/pull/481
b99bf94https://github.com/TanStack/cli/commit/b99bf948a5e652829e79f59cea5caf39f3a3393f
Click here to learn what changesets arehttps://changesets.dev/faq
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/gs0428/cli/new/gs0428/router-only-duplicate-register?filename=.changeset/better-friends-rush.md&value=---%0A%22%40tanstack%2Fcli%22%3A%20patch%0A%22%40tanstack%2Fcreate%22%3A%20patch%0A---%0A%0Afix(create)%3A%20use%20shared%20router%20factory%20in%20router-only%20apps%0A
Please reload this pagehttps://github.com/TanStack/cli/pull/481
https://github.com/tannerlinsley
tannerlinsleyhttps://github.com/tannerlinsley
Nov 2, 2026https://github.com/TanStack/cli/pull/481#issuecomment-6567079105
Please reload this pagehttps://github.com/TanStack/cli/pull/481
b99bf94https://github.com/TanStack/cli/commit/b99bf948a5e652829e79f59cea5caf39f3a3393f
Please reload this pagehttps://github.com/TanStack/cli/pull/481
https://github.com/tannerlinsley
fix(create): support Query in shared router-only factorieshttps://github.com/TanStack/cli/pull/481/commits/b99bf948a5e652829e79f59cea5caf39f3a3393f
b99bf94https://github.com/TanStack/cli/pull/481/commits/b99bf948a5e652829e79f59cea5caf39f3a3393f
https://github.com/tannerlinsley
tannerlinsleyhttps://github.com/tannerlinsley
fcff1bfhttps://github.com/TanStack/cli/commit/fcff1bfc904063942f472fd190bd7e6d024375bc
Nov 2, 2026https://github.com/TanStack/cli/pull/481#event-34872358426
Please reload this pagehttps://github.com/TanStack/cli/pull/481
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 2, 2026 https://github.com/TanStack/cli/pull/481#ref-pullrequest-6155791955
ci: Version Packages #533 https://github.com/TanStack/cli/pull/533
https://github.com/tannerlinsley
tannerlinsleyhttps://github.com/tannerlinsley
Nov 2, 2026 https://github.com/TanStack/cli/pull/481#ref-issue-5867911570
tanstack-cli --router-only project tanstack-query add on scaffolds a tanstack-start router.tsx #522 https://github.com/TanStack/cli/issues/522
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Nov 4, 2026 https://github.com/TanStack/cli/pull/481#ref-pullrequest-4810353066
fix(create): repair router-only package manifests #482 https://github.com/TanStack/cli/pull/482
https://github.co/hiddenchars
https://github.com/TanStack/cli/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fcli%2Fpull%2F481
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/TanStack/cli/pull/481/files/58370320bc6747fd91f5c25b09dd79e5166545e8
Please reload this pagehttps://github.com/TanStack/cli/pull/481
[Bug] --router-only main.tsx ignores getRouter() from router.tsx (router.tsx becomes dead code + duplicate Register declaration) https://github.com/TanStack/cli/issues/480
Please reload this pagehttps://github.com/TanStack/cli/pull/481
https://github.com/gs0428
https://github.com/tannerlinsley
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.