-
-
Notifications
You must be signed in to change notification settings - Fork 783
New issue
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
SSR with @solidjs/start
#3521
Comments
needs ssr:false currently in solid start cc @brenelz |
Ran into another issue which has nothing to do with TanStack per se, but sharing here in case you have any thoughts spirit-led-software/clerk-solidjs#257 |
Yeah SSR doesn't work with tanstack solid router. I've been trying to debug that client side error with no luck |
yup, not quite clear how to add tanstack router into solid start setup as index.html is hidden. https://github.com/gregkonush/solit |
Looked at what Tanstack form does and this seems to fix part of the SSR issue. Doesn't solve the whole thing but gets us partially there. https://github.com/TanStack/form/blob/main/packages/solid-form/tsconfig.build.json Fixes part of the problem discussed here #3521
@mrlubos , it might take a while before SSR is working with SolidStart. On a positive note, SSR is now working for the |
@birkskyum No problem, appreciate the update! As for the other issue I linked, I'm not sure what the solution would be for libraries needing to implement the "current router" navigation/components short of having a separate release/export for each. I'm slowly reducing my dependency on that package in the meantime in hopes of having an easier migration experience whenever this is ready! |
Which project does this relate to?
Router
Describe the bug
Hey! I am super excited about Solid Router as seen by my timely comment. I assume this is not currently supported so perhaps a feature request, but how to use the router in SolidStart? Is it the SSR functionality I am requesting? Am I the problem?
Your Example Website or App
https://stackblitz.com/edit/github-grada5-vrkkfmhj?file=app.config.ts,src%2Fapp.tsx
Steps to Reproduce the Bug or Issue
Here's a list of changes I've made to an existing project.
app.config.ts
routes/__root.tsx
app.tsx
This is enough to show the following error trace when I load the root page
Expected behavior
Works with SolidStart! 🚀
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: