René's URL Explorer Experiment


Title: `npm create @tanstack/start@latest`, when set up with Query also includes Provider, but it is not used. · Issue #272 · TanStack/cli · GitHub

Open Graph Title: `npm create @tanstack/start@latest`, when set up with Query also includes Provider, but it is not used. · Issue #272 · TanStack/cli

X Title: `npm create @tanstack/start@latest`, when set up with Query also includes Provider, but it is not used. · Issue #272 · TanStack/cli

Description: Which project does this relate to? Create Tanstack App Describe the bug When setting up npm create @tanstack/start@latest, it also creates the folder src/integrations/tanstack-query with two files inside: root-provider.tsx devtools.tsx I...

Open Graph Description: Which project does this relate to? Create Tanstack App Describe the bug When setting up npm create @tanstack/start@latest, it also creates the folder src/integrations/tanstack-query with two files ...

X Description: Which project does this relate to? Create Tanstack App Describe the bug When setting up npm create @tanstack/start@latest, it also creates the folder src/integrations/tanstack-query with two files ...

Opengraph URL: https://github.com/TanStack/cli/issues/272

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`npm create @tanstack/start@latest`, when set up with Query also includes Provider, but it is not used.","articleBody":"### Which project does this relate to?\n\nCreate Tanstack App\n\n### Describe the bug\n\nWhen setting up `npm create @tanstack/start@latest`, it also creates the folder `src/integrations/tanstack-query` with two files inside:\n\n- `root-provider.tsx`\n- `devtools.tsx`\n\nInside `root-provider.tsx`, there is a Provider function (see both tRPC and non-tRPC snippet below)\n\nhttps://github.com/TanStack/create-tsrouter-app/blob/6110e61344d6fc002dbf371c89e39ce8f679789c/frameworks/react-cra/add-ons/tanstack-query/assets/src/integrations/tanstack-query/root-provider.tsx.ejs#L46-L58\n\nhttps://github.com/TanStack/create-tsrouter-app/blob/6110e61344d6fc002dbf371c89e39ce8f679789c/frameworks/react-cra/add-ons/tanstack-query/assets/src/integrations/tanstack-query/root-provider.tsx.ejs#L69-L79\n\nThey are not used anywhere in the template, and from the page [TanStack Query Integration](https://tanstack.com/router/v1/docs/integrations/query):\n> By default, the integration wraps your router with a QueryClientProvider. If you already provide your own provider, pass wrapQueryClient: false and keep your custom wrapper.\n\nThe code in the template is unused, so it may be removed.\n\n### Your Example Website or App\n\nhttps://tanstack.com/start/v0/docs/framework/react/quick-start\n\n### Steps to Reproduce the Bug or Issue\n\n1. Create a basic app with `npm create @tanstack/start@latest my-app -- --add-ons tanstack-query`\n2. View the contents of `src/integrations/tanstack-query/root-provider.tsx` with `cat`:\n```jsx\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query'\n\nexport function getContext() {\n  const queryClient = new QueryClient()\n  return {\n    queryClient,\n  }\n}\n\nexport function Provider({\n  children,\n  queryClient,\n}: {\n  children: React.ReactNode\n  queryClient: QueryClient\n}) {\n  return (\n    \u003cQueryClientProvider client={queryClient}>{children}\u003c/QueryClientProvider>\n  )\n}\n```\n3. Look for files where Provider is mentioned with `grep`:\n```console\n$ grep -nr \"\\bProvider\" --exclude-dir=node_modules\nsrc/integrations/tanstack-query/root-provider.tsx:10:export function Provider({\n```\n\nAs we can see, excluding the file where it was defined, it is not used anywhere else.\n\n### Expected behavior\n\nAs a user, I expect unused code snippets to not be part of our template. However, in our case, there is a unused code that returns a `QueryClientProvider`, which is not used anywhere, and which won't be needed, since Router also has Query integration.\n\n### Screenshots or Videos\n\n_No response_\n\n### Platform\n\n- OS: Linux\n- Browser: Firefox\n- Version: 146.0-2\n\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/Ashvith10","@type":"Person","name":"Ashvith10"},"datePublished":"2025-12-31T10:36:25Z","url":"https://github.com/TanStack/cli/issues/272"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fbd3f871-0942-6db1-3563-9eb5c99a93ff
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC228:2FCDB1:19433B3:227F14D:6AF9A425
html-safe-nonce681e181c2b602fa1b3fd1f358073a5aa7fa55daa5db02086db99211ab0c30ba3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjI4OjJGQ0RCMToxOTQzM0IzOjIyN0YxNEQ6NkFGOUE0MjUiLCJ2aXNpdG9yX2lkIjoiMTM4MzkwNzIyNjk5MjM1NDM0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5618e0aaae7cc587629d610b07c1dd53e740bb2fd158b3cc5e4645602e2d1b2c
hovercard-subject-tagissue:3772513099
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TanStack/cli/272/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7812f5c9fbaa275ac32dea5806718c79392f01b54e0b43cf0734c5650b8fa7f9/TanStack/cli/issues/272
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7812f5c9fbaa275ac32dea5806718c79392f01b54e0b43cf0734c5650b8fa7f9/TanStack/cli/issues/272
og:image:altWhich project does this relate to? Create Tanstack App Describe the bug When setting up npm create @tanstack/start@latest, it also creates the folder src/integrations/tanstack-query with two files ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAshvith10
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-preview
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-nameissues

Links:

Skip to contenthttps://github.com/TanStack/cli/issues/272#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTanStack%2Fcli%2Fissues%2F272
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%2Fissues%2F272
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=TanStack%2Fcli
Reloadhttps://github.com/TanStack/cli/issues/272
Reloadhttps://github.com/TanStack/cli/issues/272
Reloadhttps://github.com/TanStack/cli/issues/272
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
New issuehttps://github.com/login?return_to=https://github.com/TanStack/cli/issues/272
New issuehttps://github.com/login?return_to=https://github.com/TanStack/cli/issues/272
npm create @tanstack/start@latest, when set up with Query also includes Provider, but it is not used.https://github.com/TanStack/cli/issues/272#top
https://github.com/Ashvith10
Ashvith10https://github.com/Ashvith10
on Dec 31, 2025https://github.com/TanStack/cli/issues/272#issue-3772513099
https://github.com/TanStack/create-tsrouter-app/blob/6110e61344d6fc002dbf371c89e39ce8f679789c/frameworks/react-cra/add-ons/tanstack-query/assets/src/integrations/tanstack-query/root-provider.tsx.ejs#L46-L58https://github.com/TanStack/create-tsrouter-app/blob/6110e61344d6fc002dbf371c89e39ce8f679789c/frameworks/react-cra/add-ons/tanstack-query/assets/src/integrations/tanstack-query/root-provider.tsx.ejs#L46-L58
https://github.com/TanStack/create-tsrouter-app/blob/6110e61344d6fc002dbf371c89e39ce8f679789c/frameworks/react-cra/add-ons/tanstack-query/assets/src/integrations/tanstack-query/root-provider.tsx.ejs#L69-L79https://github.com/TanStack/create-tsrouter-app/blob/6110e61344d6fc002dbf371c89e39ce8f679789c/frameworks/react-cra/add-ons/tanstack-query/assets/src/integrations/tanstack-query/root-provider.tsx.ejs#L69-L79
TanStack Query Integrationhttps://tanstack.com/router/v1/docs/integrations/query
https://tanstack.com/start/v0/docs/framework/react/quick-starthttps://tanstack.com/start/v0/docs/framework/react/quick-start
https://github.com/anandxs
anandxshttps://github.com/anandxs
on Jan 14, 2026https://github.com/TanStack/cli/issues/272#issuecomment-3751040902
https://github.com/Ashvith10
Ashvith10https://github.com/Ashvith10
on Jan 14, 2026https://github.com/TanStack/cli/issues/272#issuecomment-3751096908
@anandxshttps://github.com/anandxs
TanStack Query Integration/Setuphttps://tanstack.com/router/latest/docs/integrations/query#setup
tannerlinsleyhttps://github.com/tannerlinsley
on Feb 6, 2026https://github.com/TanStack/cli/issues/272#event-22598413490
chore: remove unused Provider function from tanstack-query template (#…https://github.com/TanStack/cli/commit/46a49033547f7e6c9905f4e94cca07ce0988f63a
#…https://github.com/TanStack/cli/issues/272
46a4903https://github.com/TanStack/cli/commit/46a49033547f7e6c9905f4e94cca07ce0988f63a
https://github.com/tannerlinsley
tannerlinsleyhttps://github.com/tannerlinsley
on Feb 13, 2026https://github.com/TanStack/cli/issues/272#issuecomment-3895017046
#356https://github.com/TanStack/cli/pull/356
tannerlinsleyhttps://github.com/tannerlinsley
completedhttps://github.com/TanStack/cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 13, 2026https://github.com/TanStack/cli/issues/272#event-22756125787
Sign up for freehttps://github.com/signup?return_to=https://github.com/TanStack/cli/issues/272
Sign in to commenthttps://github.com/login?return_to=https://github.com/TanStack/cli/issues/272
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.