Which project does this relate to?
Router
Describe the bug
Setting ssr: "data-only" or ssr: false in __root.tsx results in a blank page displaying the Pending component. It works if component: RootComponent is changed to shellComponent: RootComponent, but I don't know why.
This also applies when setting defaultSsr: "data-only" | false in router.tsx
Your Example Website or App
https://codesandbox.io/p/devbox/charming-wave-7swm3d?workspaceId=ws_SwVJJYSqC3vsY1k276Wg8o
Steps to Reproduce the Bug or Issue
- Check that
ssr: "data-only" is set in __root.tsx root route.
- Observe the blank page
Expected behavior
The page should eventually display the same as if ssr: true
Screenshots or Videos
No response
Platform
- Router / Start Version: 1.130.12
- OS: Windows
- Browser: Chrome
- Browser Version: 138
- Bundler: vite
- Bundler Version: 6.3.5
Additional context
No response
Which project does this relate to?
Router
Describe the bug
Setting
ssr: "data-only"orssr: false in__root.tsxresults in a blank page displaying the Pending component. It works ifcomponent: RootComponentis changed toshellComponent: RootComponent, but I don't know why.This also applies when setting
defaultSsr: "data-only" | falseinrouter.tsxYour Example Website or App
https://codesandbox.io/p/devbox/charming-wave-7swm3d?workspaceId=ws_SwVJJYSqC3vsY1k276Wg8o
Steps to Reproduce the Bug or Issue
ssr: "data-only"is set in__root.tsxroot route.Expected behavior
The page should eventually display the same as if
ssr: trueScreenshots or Videos
No response
Platform
Additional context
No response