ygor perez
Explore posts from servershow to persist the query client?
oh! for some reason I mixed
useQueryClient
with useQuery
, thank you very much that was exactly what I needed, I read the bit of documentation in https://trpc.io/docs/migrate-from-v9-to-v10 "queryClient is no longer exposed through tRPC context", but for some reason flew over my head.18 replies
How to upload file not use S3 Next js? Please, example
this video might help you out: https://youtu.be/mxT3j-5s1Zc
4 replies
how to persist the query client?
Thank you for the reply, yes I'm on NextJS 13 without the app directory.
This is how you use the
persistQueryClient
from the docs, I would like to know if there is a way to get the queryClient from TRPC in v1018 replies
TTCTheo's Typesafe Cult
•Created by nyx5975 on 4/4/2023 in #questions
Clerk - multi-user login/profiles
Happy to help! Good luck with your project! 😁
21 replies
TTCTheo's Typesafe Cult
•Created by Perfect on 4/4/2023 in #questions
Zod - instanceof z.ZodError
Good to know!
5 replies
TTCTheo's Typesafe Cult
•Created by nyx5975 on 4/4/2023 in #questions
Clerk - multi-user login/profiles
Then in your middleware you could access that data and define if the user can access that page or not
21 replies
TTCTheo's Typesafe Cult
•Created by nyx5975 on 4/4/2023 in #questions
Clerk - multi-user login/profiles
Maybe you could use the userMetadata shown in here: https://clerk.com/docs/users/user-metadata
21 replies
TTCTheo's Typesafe Cult
•Created by Mads on 4/5/2023 in #questions
What is the convention for customizing sign-in pages in NextAuth
Happy to help!
12 replies
TTCTheo's Typesafe Cult
•Created by Mads on 4/5/2023 in #questions
What is the convention for customizing sign-in pages in NextAuth
if you have any problems with the sign in reach out to me again!
12 replies
TTCTheo's Typesafe Cult
•Created by Mads on 4/5/2023 in #questions
What is the convention for customizing sign-in pages in NextAuth
No problem Mads 😁 , I had some issues when I first tried to implement it myself too, the documentation isn't the clearest.
12 replies
TTCTheo's Typesafe Cult
•Created by Mads on 4/5/2023 in #questions
What is the convention for customizing sign-in pages in NextAuth
I heard that this path to the sign in page is a convention
12 replies
TTCTheo's Typesafe Cult
•Created by Mads on 4/5/2023 in #questions
What is the convention for customizing sign-in pages in NextAuth
src/pages/auth/signin.tsx
src/server/auth.ts
12 replies
TTCTheo's Typesafe Cult
•Created by Perfect on 4/4/2023 in #questions
Zod - instanceof z.ZodError
Maybe try extracting the coursePost to it's own schema?
This is from the docs:
Your code seems right, have you tried passing random things to be parsed?
5 replies