Skip to content

TSR: remove verboseFileRoutes, add router file#3981

Merged
nstepien merged 1 commit intomainfrom
reroute
Feb 24, 2026
Merged

TSR: remove verboseFileRoutes, add router file#3981
nstepien merged 1 commit intomainfrom
reroute

Conversation

@nstepien
Copy link
Collaborator

@nstepien nstepien commented Feb 24, 2026

Removed the verboseFileRoutes setting, it's not documented, it doesn't look like a priority or something they'll keep supporting.
https://x.com/schanuelmiller/status/2006699764033667558


Split the router into its own files, otherwise there's a bug with the TSR plugin where we end up with a duplicate of website/root.tsx after HMR.

11:10:45 PM [vite] (client) hmr invalidate /src/Row.tsx Could not Fast Refresh ("defaultRenderRow" export is incompatible). Learn more at https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#consistent-components-exports
image image image

@nstepien nstepien self-assigned this Feb 24, 2026
@nstepien nstepien marked this pull request as ready for review February 24, 2026 23:16
@nstepien nstepien merged commit dd8eb88 into main Feb 24, 2026
2 checks passed
@nstepien nstepien deleted the reroute branch February 24, 2026 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants