Skip to content

[solid-start] Custom client.tsx breaks client navigation (probably hydration fully) #5085

@jakst

Description

@jakst

Which project does this relate to?

Start

Describe the bug

Client navigation breaks with custom client.tsx. I suspect hydration is completely broken, but client navigation is the most directly visible issue.

Your Example Website or App

https://github.com/jakst/tss-client-reload

Steps to Reproduce the Bug or Issue

  1. pnpm install && pnpm dev
  2. Open app in browser. Navigate around. Notice all navigations go to the server.
  3. Delete the file ./src/client.tsx and restart the dev server
  4. Repeat step 2, and notice that client navigation works again.

Expected behavior

I expect client side routing to work with a custom client.tsx.

Screenshots or Videos

No response

Platform

  • Router / Start Version: 1.131.35
  • OS: MacOS
  • Browser: Chrome
  • Browser Version: 139
  • Bundler: vite
  • Bundler Version: 7.1.4

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions