States don't update after Post
I'm having to manually invalidate the cache after every post in order for the states to update with the new data, but I feel like this shouldn't be happening. Am I doing something wrong?

Why is my prisma model typed as any?
added pictures.
Basically I'm just trying to query my db after I pushed the models to the db with 'npx prisma db push'.
I am using a Supabase so its a postresql db....

background gradient shapes
Maybe a weird question but do you know place to get free shapes like this that tailwind ui uses
https://keynote.tailwindui.com/...
Objects of objects of a certain type
I am trying to create an object whose keys can be anything, but values are of a certain type.
Each object is essentially a link, that has a certain shape. Then I put them in a wrapper object like this, however each object within is typed indivdually instead of the overall object. The problem is when I try and loop over the wrapper object LINKS, it is not giving me typesaftey. How do i fix this?...

running npm script from within npm script fails with ESM error
here are the scripts from my package.json:
```
"scripts": {
"build": "next build",
"dev": "next dev",...
Best resource for hiring a T3 Developer
I have been developing my application for awhile now and I'm reaching a point where I am unable to create some of the complex trpc mutations that I need. I have never hired a developer before so I have a few questions about this.
1. Developer websites
What websites do you guys use for finding reliable developers for technologies used in the T3 stack? I looked on Upwork but I didn't see Prisma developer as a searchable skill. Some of what I need done involves Prisma but also involves recursive data structures. Are there any developer websites where I can search for experience in "recursive data structures" or something like this?
...
Does vitest have a global teardown function?
I would like to run some cleanup mode in vitest after ALL tests in every test module are done. Is there a way to do this? All of the module files seem to run in parallel.
Using Prisma types elsewhere
This might be a really silly question, Im sure the answer is super simple, I can't find the answer in docs though (thinking about it this is probably a more Typescript question)..
I have this TRPC call which returns some data with multiple relations:
const parts = trpc.partDetails.getAll.useQuery();
The type for parts.data is ...Next.js i18n type safety
Does someone have any recommendations on how I can get a type safe setup for translations with Next.js (using pages and not app structure)
How to generate next13 app?
Does create-next-app default to next13 now or is there a specific way for me to generate a next13 app specifically.
Unknown-ish types
I am building a simple drag and drop library, nothing fancy - I've got to a point where the first prototype works, my issue now is that I have a Vue composable (all you need to know if you're not familiar is that it's basically like a hook, a function that takes some parameters), the user using the library would send up an array of
lists that will have drag and drop capabilities.
Now, the list will just be an Array of Arrays of objects but I don't know what's going to be inside of those objects, all I know is they will definitely need to have an id, how do I go about assigning types to the singular object ?...Updating profile pictures from next-auth providers
So I am trying to get next-auth to update the user's profile picture when they sign in. Googling lead me to this: https://github.com/nextauthjs/next-auth/discussions/1414
Which seems very reasonable, so I am adding some logic to the
sign in callback In [...nextauth]. The problem I am facing is that I am not can't seem to get the image URL/id to check against the one saved in my DB.
The attached Image shows that the profile object contains what i want, the avatar or the image_url is all I need. Intellisense gives me an profile.image suggestion, which returns undefined, and cant seems to do anything like profile.avatar or profile.image_url to get the value....
How to handle color codes in (medium-big) projects?
I recently purchased the tailwindui component library and it works amazing for small projects, as it allows me to quickly copy-and-paste components, which would take many hours design.
But, right now I'm building my first bigger project with tailwind, with custom colors, fonts etc.
What is the best way to manage different color codes with tw? I'm quite afraid of using codes like 'gray-100', as we may require a color change in the future,
and going back and adjusting all the colors would be a nightmare (as 'gray-100' could be used in different contexts, with differnt intentions)....
Tailwind isnt working
Hi guys, I am trying to install tailwind with vite using npm and it doesnt work no mather what I do! I followed every single step in tailwind docs and stiill doesnt work, my vs code isnt recording any error im my code and I checked it so many times and there's nothing wrong. Can someone help me with these please?
node-canvas error
node-canvas error
...
Is there any other library I can use since `node-canvas` seems to be an issue, please recommend.
Is there any other library I can use since `node-canvas` seems to be an issue, please recommend.
Prisma Schema Single Type
Hi fellow cult members.
I want to create a model for a 'single' type (not sure if that's the correct term) in my Prisma schema. My understanding is a Prisma
Model is something that can be created multiple times. I don't want this. I want just a single instance of a model. It'll be something like:
`model PageText {...Client Side Routing to specific route causes 'too many rerenders', but a page reload works fine
Going straight to link and getting brand new page from server works fine
using next
Link component to route client side causes Error: Too many re-renders.
only 1 specific page, all others work and this page is nearly identical to others in terms of functionality...Confused on Prisma's where clause: OR and AND
I'm trying to write a query that queries the repositories that aren't
hidden for everyone, but for the logged user, it also queries the hidden ones. I think the SQL for that would be something like:
SELECT * FROM Repository r
WHERE r.hidden = false
OR (r.hidden = true AND r.userId = ctx.session.user.id)
...tRPC, Is it just for front end?
I just spent a few hours trying to use tRPC endpoint inside a NextAuth callback function, only to finally give up and use prisma directly.
Now that I reflect on it, tRPC IS part of the server right? Did I just try to call an endpoint from my own server? š¤¦āāļøš¤¦āāļøš¤¦āāļø
I hope Iām wrong. be gentle š¤£...