Pod
TTCTheo's Typesafe Cult
•Created by NV43 on 5/31/2023 in #questions
Drag and drop library recommendation?
dndkit
9 replies
TTCTheo's Typesafe Cult
•Created by Profeshnul Duvlupur on 5/4/2023 in #questions
need discord bot hosting 24/7 uptime free low specs no card no phone
If it's just interactions you could use cloudflare workers with something like slash-create
38 replies
TTCTheo's Typesafe Cult
•Created by Thorjr5 on 5/2/2023 in #questions
How to pull a single piece of data from Prisma using trpc
Haha no problem
5 replies
TTCTheo's Typesafe Cult
•Created by Thorjr5 on 5/2/2023 in #questions
How to pull a single piece of data from Prisma using trpc
Use findUnique and pass the id of the product
5 replies
TTCTheo's Typesafe Cult
•Created by christophertineo on 5/2/2023 in #questions
does uploadthing have a progress bar?
I don't think so, you should ask/suggest in #uploadthing though
2 replies
TTCTheo's Typesafe Cult
•Created by Greg on 4/30/2023 in #questions
Is there a way to force data to update on a new page with t3 without having to click the page
There's a refetch interval option
9 replies
TTCTheo's Typesafe Cult
•Created by binetcauchy on 4/28/2023 in #questions
Similar site on multiple URLs
You can use a monorepo and make a application for each of the sites, use a tool like lerna, turbo, etc to manage dependencies, then you can deploy each site separately to each subdomain. That also allows you to have a shared ui package.
3 replies
TTCTheo's Typesafe Cult
•Created by sarahmiller321 on 4/25/2023 in #questions
Immediately prompting for signin
It's straight nextjs
14 replies
TTCTheo's Typesafe Cult
•Created by willm on 4/26/2023 in #questions
Vercel deployment error
👌
14 replies
TTCTheo's Typesafe Cult
•Created by willm on 4/26/2023 in #questions
Vercel deployment error
Did you expand all those lines and look through the output? It should provide more info
14 replies
TTCTheo's Typesafe Cult
•Created by sarahmiller321 on 4/25/2023 in #questions
Immediately prompting for signin
It will only run once, and it will get the auth session if it exists
14 replies
TTCTheo's Typesafe Cult
•Created by sarahmiller321 on 4/25/2023 in #questions
Immediately prompting for signin
14 replies
TTCTheo's Typesafe Cult
•Created by sarahmiller321 on 4/25/2023 in #questions
Immediately prompting for signin
Also, the way you have it currently set up is a bit skewed. You'd probably want to check for auth in getServerSideProps, as with your useEffect, the very first pass won't have session data
14 replies
TTCTheo's Typesafe Cult
•Created by sarahmiller321 on 4/25/2023 in #questions
Immediately prompting for signin
@sarahmiller321 Pass the method you want them to sign in with in the function
14 replies
TTCTheo's Typesafe Cult
•Created by dishant8314 on 4/21/2023 in #questions
Can we use Nextjs trpc endpoint for other apps?
basically trpc-openapi gives us a rest call right?trpc is already REST calls, openapi just makes it more "standard" looking and provides documentation
11 replies
TTCTheo's Typesafe Cult
•Created by dishant8314 on 4/21/2023 in #questions
Can we use Nextjs trpc endpoint for other apps?
Nope you can use it in an existing one, and yes
11 replies
TTCTheo's Typesafe Cult
•Created by dishant8314 on 4/21/2023 in #questions
Can we use Nextjs trpc endpoint for other apps?
Yes, tRPC endpoints are just normal REST urls. You can use the network tab to see it, or if you want it more friendly, look into something like trpc-openapi.
11 replies
TTCTheo's Typesafe Cult
•Created by Christian Lind on 3/28/2023 in #questions
Is there a way to call a trpc useQuery() multiple times?
np!
33 replies
TTCTheo's Typesafe Cult
•Created by Christian Lind on 3/28/2023 in #questions
Is there a way to call a trpc useQuery() multiple times?
Yes, but if you're looking to see what the results of the query are you can do it there
33 replies