Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No interaction with page #3116

Open
chlbri opened this issue Jan 7, 2025 · 1 comment
Open

No interaction with page #3116

chlbri opened this issue Jan 7, 2025 · 1 comment
Labels
information needed Further information is requested start Everything about TanStack Start

Comments

@chlbri
Copy link

chlbri commented Jan 7, 2025

Which project does this relate to?

Router

Describe the bug

I don't have any interaction within a page when using tanstack start. Even when I clicked a button

Your Example Website or App

https://github.com/chlbri/tanstack-start-2/blob/dev/app/components/Counter.tsx

Steps to Reproduce the Bug or Issue

Follow the build from scratch tutorial in tanstack start.
Replace file system routing by legacy routing
Create a Counter.tsx component with useState inside the "/other" route

Expected behavior

I can increment the counter inside the COunter componnent

Screenshots or Videos

No response

Platform

  • OS: macOS
  • Browser: [Edge Version 125.0.2535.92 (Version officielle) (arm64), Safari Version 18.2 (20620.1.16.11.8)]

Additional context

No response

@SeanCassiere
Copy link
Member

I'm not sure I understand the issue here.

TanStack Start requires the use of file-based routing since it's used to generate the manifest that's printed in the routeTree.gen.ts file. If you want to be able to bring your own routing, you'll need to use virtual file routes.

@SeanCassiere SeanCassiere added information needed Further information is requested start Everything about TanStack Start labels Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
information needed Further information is requested start Everything about TanStack Start
Projects
None yet
Development

No branches or pull requests

2 participants