You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: createIsomorphicFn doesn't resolve callbacks when used in different vars #6206
When using isomorphic functions, the new compiler ignores the server() and client() when split across 2 different variables. I believe this happens because its looking at a specific ast node, and when used cant trace back to the original ref
Check the gist, define a isomorphicfn in a variable and use it in another one. It will throw a no-op warning, because both server and client fns are stripped.
Expected behavior
To be able to resolve back the original variable so we can compose iso functions
Activity
coderabbitai commentedon Dec 24, 2025
📝 CodeRabbit Plan Mode
Generate an implementation plan and prompts that you can use with your favorite coding agent.
Examples
🔗 Related PRs
#4806 - docs(start): createIsomorphicFn and envOnly [merged]
#5450 - fix: compile directive replacements [merged]
#5650 - fix: fix static server functions [merged]
#5702 - fix: run start compiler on imports from
@tanstack/start-client-core[merged]#6166 - fix: trace nested server function factory re-export chain [merged]
👤 Suggested Assignees
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord or schedule a call!
FerasAloudah commentedon Dec 24, 2025
I'm getting a no-op warning as well. I've tried both approaches, but neither worked on my side.
schiller-manuel commentedon Dec 25, 2025
i cannot reproduce this on https://github.com/TanStack/router/releases/tag/v1.143.6
if this is still reproducable for you, please create a complete minimal reproducer project.
fix: createIsomorphicFn compilation