Closed isaachinman closed 4 days ago
please provide a minimal complete example by forking an existing example on stackblitz
I've provided the minimal repro via a code snippet, and further follow-up investigation. I have isolated the problem for you.
I will gladly close this issue. You can deal with the next user to report it, and they can jump through your hoops.
Which project does this relate to?
Router
Describe the bug
This could be similar to #2819, but the behaviour I am observing is slightly different:
If I hit this URL, I see this in the console:
Apologies if I've misunderstood the purpose of
beforeLoad
, but isn't this as straightforward a bug as there could be?EDIT: This is related to #2818. If I set
TanStackRouterVite.autoCodeSplitting
tofalse
, the bug no longer occurs.Your Example Website or App
http://example.com
Steps to Reproduce the Bug or Issue
Expected behavior
Component should not be run.
Screenshots or Videos
No response
Platform
Additional context
No response