AldiBoi
AldiBoi
Explore posts from servers
TTCTheo's Typesafe Cult
Created by tyler4949 on 1/13/2024 in #questions
Update local data from useQuery
8 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 1/13/2024 in #questions
Update local data from useQuery
I believe trpc hides the queryKey thats used in its wrapping of react-query, so next steps would be to find out how to re-expose it
8 replies
TTCTheo's Typesafe Cult
Created by tyler4949 on 1/13/2024 in #questions
Update local data from useQuery
8 replies
TTCTheo's Typesafe Cult
Created by AldiBoi on 1/14/2024 in #questions
Trpc useQuery keeps refetching even with no errors (I am getting back data every time)
The code has changed now, but at the time of posting it was just a div rendering the data as plaintext.
6 replies
TTCTheo's Typesafe Cult
Created by AldiBoi on 1/14/2024 in #questions
Trpc useQuery keeps refetching even with no errors (I am getting back data every time)
I have the issue fixed for now by refactoring to use the server side funciton (Which was a huge performance bumb btw!) but if anyone has any idea why this behaved this way, I would love to know. I may have to use the function in a client component, and have no Idea how i messed it up this badly.
6 replies
TTCTheo's Typesafe Cult
Created by AldiBoi on 1/14/2024 in #questions
Trpc useQuery keeps refetching even with no errors (I am getting back data every time)
No description
6 replies
TTCTheo's Typesafe Cult
Created by AldiBoi on 1/14/2024 in #questions
Trpc useQuery keeps refetching even with no errors (I am getting back data every time)
No description
6 replies
TTCTheo's Typesafe Cult
Created by gilbertoooooooooo on 12/5/2023 in #questions
Drizzle NextAuth not working
Its most likely that since the initial setup in the db finished adding things like your discord and email, but not the Oauth session. It happened to me, the other day. Try using the drizzle studio ro reset your db and try again,
4 replies