-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Query Client not exported #55
Comments
Oh i see, did you say yes when it asked you if you want to use ssr with trpc? |
Yep, I think the config changes for ssr |
@tanstack/solid-query shouldn't be installed when choosing ssr, can you create a repo with the full output files? |
https://github.com/OrJDev/create-jd-app/blob/main/src/installers/tRPC/index.ts#L43 |
You mean selecting all the installers and enabling ssr? |
No like, create a repo with what create jd app created for you |
sure, it's here https://github.com/AlvaroAquijeDiaz/jd-app-demo |
rm -rf node_modules
pnpm install Would this work for you |
error still showing up though |
That is weird because rm -rf node_modules
npm install Also make sure to restart the ts server after that |
Hey there, |
Hey, I'll be looking at it tomorrow, haven't had the opportunity yet |
using |
however is there a reason why @adeora/solid-query is used instead of the plain @tanstack/solid-query? or the |
Aryan is the guy who created solid query, this is a patched package that supports server side rendering. The normal solid query doesn't support that |
Also i found the error, link dependencies are not being installed, there are multiple opened issues for this |
closing, check the issues above to see the progress, will update when it is fixed. |
So I've just created a base app with trpc enabled and I'm getting an error saying.
I think the new
QueryClient
should either betrpc.useContext()
orQueryClient from @tanstack/solid-query
The text was updated successfully, but these errors were encountered: