File Structure in T3 Stack
hello guys i wanted to know where do we put types and what the folder structure of it like for example do you put them in components/NavBar/types.d.ts or do you create a root folder /types and if you have other ways to structure types i would like to know your opinion on this
setInfiniteQueryData and getInfiniteQueryData compatibility
I want to
setInfiniteQueryData to old data (before mutation). I have a following code:
```
const postMessage = trpc.useMutation("guestBook.postMessage", {
onMutate: async (newMessage) => {...Next-Auth CredentialsProvider not working as intended
Not sure how to use CredentialsProvider properly
Prisma 1-n relation create question
hello! I need to create a record and also many related exercises to this record, but the many records are also related to other models.
Breakdown:
A workout is connected to a program and user,
and has (optional) many records....

How to switch from sqllite to PostgreSQL(railway.app)
I was working on an application using T3 stack and sqllite and everything was working perfectly but when I switched to PostgreSQL, it stopped working any idea whats wrong?
Who is the best artist of all time and why is it Nickelback?
Don't worry everyone, Theo can't fire me 🙂
When using SWR my Vue component doesn't re-fetch the data.
How can I write better unit tests to prevent this from taking down my kn cluster?
How do I ONLY call my tRPC queries when a condition is met?
1. You might be looking for
useMutation - https://tanstack.com/query/v4/docs/reference/useMutation?from=reactQueryV3&original=https://react-query-v3.tanstack.com/reference/useMutation
2. If you're NOT looking for useMutation, you were probably looking for the enabled key - https://tanstack.com/query/v4/docs/guides/disabling-queries#lazy-queries
THIS QUESTION IS ASKED A LOT SO I DECIDED TO ANSWER IT AHEAD OF TIME...