We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start
router/packages/start-plugin/src/compilers.ts
Line 532 in 8662b4c
Isomorphic functions use client implementation during SSR, because the code says to.
https://stackblitz.com/edit/tanstack-router-cnvd1vfk?file=app%2Froutes%2Findex.tsx,app%2Futils%2Fiso-fns.ts&preset=node
Create an isomorphic function, and log its result during SSR and CSR
SSR should use the server implementation, because it's on the server.
No response
prompted from https://discord.com/channels/719702312431386674/1333870036431016047
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Which project does this relate to?
Start
Describe the bug
router/packages/start-plugin/src/compilers.ts
Line 532 in 8662b4c
Isomorphic functions use client implementation during SSR, because the code says to.
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-cnvd1vfk?file=app%2Froutes%2Findex.tsx,app%2Futils%2Fiso-fns.ts&preset=node
Steps to Reproduce the Bug or Issue
Create an isomorphic function, and log its result during SSR and CSR
Expected behavior
SSR should use the server implementation, because it's on the server.
Screenshots or Videos
No response
Platform
Additional context
prompted from https://discord.com/channels/719702312431386674/1333870036431016047
The text was updated successfully, but these errors were encountered: