Does invalidate(); perform an actual refetch?
void ctx.post.getAll.invalidate(); to show the new post we are making. Isn't this just refetching? Wouldn't it be better to have a local state/catch being updated when successful vs trying to refetch everything all over again? just seems very costly especially if an app grows. Please let me know if I am wrong in my thinking or how I should be thinking when we consider refetching data once successful. Thank youSWR - array of data in one request, one item from array in another
/courses gets all classes you are enrolled in (of type CourseData[])
GET /courses/:course_id gets specific details for one course (of type CourseData)...
Clerk re-render parent server component on sign out with custom sign out button.
Prisma schema question

T3 Firebase solution? (SMS OTP Auth)
How do I make Jotai work with trpc on the t3 stack?
Any recommend open source react project?
Rendering a blob in Nextjs
What's the difference between React.ComponentProps and React.PropsWithChildren ?
nextra with tailwindcss
How to use next-auth/clerk.js for getting user session
Error with mdx file webpack parser
How to debug Vercel cache misses with tRPC?
How do you run a one-off prisma script?
prisma seed or some sort of scripted migrate . I need to be in a JS environment (not just SQL) so I can run some logic, and I also need to import some functions from the rest of my codebase.
The issue is the classic "node is bad at importing web stuff" and "typescript needs to be compiled". So I'm trying ts-node but it doesn't solve the importing issues.
I've tried many variations of this script in my package.json...Where to run a kinda `cron` specific for each user?
cron because, if the user stops to use the platform, I'll end up just adding trash to the database for no reason.
So my idea is to go into the auth.ts and use the session event provided to go and fetch the lastRun column of my user profile.
If the difference between now and lastRun is more than 1 hour, I'll call the function that will do all the things that has to do....Fire trpc useQuery only when a callback is called
Should I use Tanstack router
File Upload Supabase + T3 Stack
How do I set the default useState value of a trpc call?
getAllForLoggedUser and switchActiveWorkspace....
Spotify login on Clerk not working on new users
