Anand
Explore posts from serverswhat will happen if we do not wrap the client component with hydrate client?
https://trpc.io/docs/client/react/server-components#utilizing-your-api
because I did not and my app works just fine, moreover I even removed the prefetch, yet all the client component (using
useSuspenseQuery
) worked fine and do not fetch on client (till after stale time).
I was just wondering what is the use case of prefetch()
an HydrateClient
3 replies
DTDrizzle Team
•Created by Anand on 11/3/2023 in #help
Postgresjs with Neon giving connnection refusal error
8 replies
Unused Database
Hey,
I have a backend talking to my express server. Both are hosted on Railway. The thing is I am not using the database all the time.
What should I do?
Will I be charged for the DB all around the month?
Is DB not based on usage?
28 replies
DTDrizzle Team
•Created by Anand on 8/22/2023 in #help
Connection to SQL destroyed (after idle). Do I need to manually handle open + close for each query?
i deployed my SQL server and nodejs server on railway. The server is up and running, for some reason my SQL connection disconnected? I was wondering if I am missing something fundamental or what?
I am using this
db
in different controllers to make queries. Am i messing up somewhere?
Should I handle the open and close state manually in every query or am I missing something?15 replies