Domcario
Domcario
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Domcario on 12/27/2023 in #questions
in a t3 project, do i use trpc for 3rd party APIs?
getting a bunch of unsafe assignment and unsafe construction warnings
6 replies
TTCTheo's Typesafe Cult
Created by Domcario on 12/27/2023 in #questions
in a t3 project, do i use trpc for 3rd party APIs?
yea, but its not typesafe right?
6 replies
TTCTheo's Typesafe Cult
Created by Domcario on 4/16/2023 in #questions
deno/supabase edge func: so many typescript lint errors
i feel like i shouldnt have to. neither of the walkthroughs mention it. or is this more wrangling with ct3a? https://www.youtube.com/watch?v=rzglqRdZUQE&t=144s and the video shows his linting isnt messed up https://supabase.com/docs/guides/functions/quickstart#create-an-edge-function
10 replies
TTCTheo's Typesafe Cult
Created by Domcario on 4/16/2023 in #questions
deno/supabase edge func: so many typescript lint errors
nothing :/ but i get cmd+click when i hover over the deno.land url
10 replies
TTCTheo's Typesafe Cult
Created by Domcario on 4/16/2023 in #questions
deno/supabase edge func: so many typescript lint errors
done but not solved
10 replies
TTCTheo's Typesafe Cult
Created by Domcario on 4/16/2023 in #questions
deno/supabase edge func: so many typescript lint errors
i assume yes because my code works and deploys, but i havent explicitly tested
10 replies
TTCTheo's Typesafe Cult
Created by Domcario on 4/12/2023 in #questions
verify thought process: TS and python serverless functions
what exactly do you mean by a serverless environment (im guessing thats different from a serverless function)?
3 replies
TTCTheo's Typesafe Cult
Created by Domcario on 3/31/2023 in #questions
better supabase auth than with useEffect & getSession on each page?
maybe ill just switch to nextauth
10 replies
TTCTheo's Typesafe Cult
Created by Domcario on 3/31/2023 in #questions
better supabase auth than with useEffect & getSession on each page?
yea idk useUser seems broken, always returns null. there's a lot of posts in the supabase discord and the supabase-js github discussion about it
10 replies
TTCTheo's Typesafe Cult
Created by Domcario on 3/31/2023 in #questions
better supabase auth than with useEffect & getSession on each page?
10 replies
TTCTheo's Typesafe Cult
Created by Domcario on 3/24/2023 in #questions
when to use tRPC vs a nextjs api route
oh yea i see now and that youre the same thread too for whoever comes here: https://github.com/t3-oss/create-t3-app/issues/329 and comment out/remove loggerLink in /utils/api.ts by this https://trpc.io/docs/links/loggerLink
29 replies
TTCTheo's Typesafe Cult
Created by Domcario on 3/24/2023 in #questions
when to use tRPC vs a nextjs api route
will do, so no need for a zustand store then?
29 replies
TTCTheo's Typesafe Cult
Created by Domcario on 3/24/2023 in #questions
when to use tRPC vs a nextjs api route
woah, didnt know that. is there a way to check if the data returned is fresh from my db vs just from cache?
29 replies
TTCTheo's Typesafe Cult
Created by Domcario on 3/24/2023 in #questions
when to use tRPC vs a nextjs api route
will check out zustand, ty
29 replies
TTCTheo's Typesafe Cult
Created by Domcario on 3/24/2023 in #questions
when to use tRPC vs a nextjs api route
quick q, @Pod if im calling the same trpc api endpoint on one page, say /pages/fileA.tsx and i need to access the same endpoint for the same data on /pages/fileB.tsx, is there a best practice on sharing the data without making an extra/unecessary api call?
29 replies
TTCTheo's Typesafe Cult
Created by Domcario on 3/24/2023 in #questions
when to use tRPC vs a nextjs api route
oh that's true, i did see that file and forgot about it!
29 replies