-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Which project does this relate to?
Start
Describe the bug
I am having a weird issue, or maybe i understand the process wrongly:
I have defined a custom server entry point, as far as I understand this should be the very first thing that gets called on everything server related.
However, if I call a server function from a route loader, this one actually gets executed before my custom handler, so either i do something wrong or I dont understand how the server entrypoint should work?
Your Example Website or App
https://github.com/tomh4/tanstack-start-server-entry-issue
Steps to Reproduce the Bug or Issue
- Open the root page in browser
- Check the logs
- Function logs are produced before server entry point logs
Expected behavior
Server Entry Point should be the very first thing that gets executed before any server function can run
Screenshots or Videos
Platform
- Router / Start Version: 1.154.7
- OS: macOS
- Browser: all
- Browser Version: latest
- Bundler: vite
- Bundler Version: 7.3.1
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels