noahsolomon
Explore posts from serversDTDrizzle Team
•Created by noahsolomon on 10/1/2024 in #help
pgvector returning less than it should
3 replies
DTDrizzle Team
•Created by noahsolomon on 6/18/2024 in #help
Where clause dependent on with relation
So I want to add to this query where tweets.length > 0. But I don't know how to anchor on to this tweets relation
4 replies
How to refetch a call made on the server
I need to refetch this when some button is clicked (or if easier, when some query string param is changed), but this component NEEDS to be a server component unfortunately. How can I revalidate this tRPC call?
3 replies
tRPC requests on client vs server for NextJs
Hello, I'm new to tRPC, and am confused on one thing. I have watched videos of some using a server client to make their tRPC requests on server side with async/await before sending the data with html back to the user, and the more common approach I've seen is requesting with 'use client'. When is it practical to use these approaches?
Also, I don't quite understand how to properly set up a server client in tRPC with next in regards to providing context.
Also, I don't quite understand how to properly set up a server client in tRPC with next in regards to providing context.
13 replies