AldiBoi
AldiBoi
Explore posts from servers
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)
Hey everyone, I tried looking into why this might happen, and either dont know enough about it to describe it or have a peculiar issue. In my client side component, I have a useQuery from trpc/react/. Whenever I call my procedure with parameters, (two Dates in my case), my procure spam calls, although it returns data each time. I am at a loss, and have been looking for docs for this. Any pointers to what might be going on would be appreciated. (Images otw)
6 replies
TTCTheo's Typesafe Cult
Created by AldiBoi on 12/12/2023 in #questions
Google Api Node packages using Next Auth.
I am working on a project where I need to use google api, and noticed that they have npm packages for their apis. The problem is that I can't for the life of me figure out how these apis are supposed to take my credentials, since in theory I should already have them after signing in, but it doesn't look like thats the case. The documentation is abysmal at the moment, so I was wondering if anyone had experience with the api that could help me out?
2 replies