domi?
TTCTheo's Typesafe Cult
•Created by domi? on 8/13/2023 in #questions
How do tRPC WebSockets work with NextJS
So the site and websocket server are hosted differently? Or everything is hosten on render?
20 replies
TTCTheo's Typesafe Cult
•Created by domi? on 6/2/2023 in #questions
React.FC equivalent for RSC
It doesn't accept it if it return value is a promise
14 replies
TTCTheo's Typesafe Cult
•Created by domi? on 6/2/2023 in #questions
React.FC equivalent for RSC
That's what I did originally, but I get this type error:
Type '() => Promise<void>' is not assignable to type 'FC<{}>'
14 replies
TTCTheo's Typesafe Cult
•Created by domi? on 6/2/2023 in #questions
React.FC equivalent for RSC
in a server component
14 replies
TTCTheo's Typesafe Cult
•Created by domi? on 6/2/2023 in #questions
React.FC equivalent for RSC
so that I accidentally don't return something that's not jsx
14 replies
TTCTheo's Typesafe Cult
•Created by domi? on 6/2/2023 in #questions
React.FC equivalent for RSC
yes, that's what I'm looking for
14 replies
TTCTheo's Typesafe Cult
•Created by domi? on 3/13/2023 in #questions
Dev stack for almost completely static website
i dont want to do plain html & css because i want to keep some site data in a json and inject it from there so that its easy to change some of the data
5 replies
TTCTheo's Typesafe Cult
•Created by domi? on 3/13/2023 in #questions
Dev stack for almost completely static website
yeah i was thinking of astro
5 replies
TTCTheo's Typesafe Cult
•Created by domi? on 1/17/2023 in #questions
Local Database for Vercel hosted api functions
thanks, ill check it out
10 replies
TTCTheo's Typesafe Cult
•Created by domi? on 1/17/2023 in #questions
Local Database for Vercel hosted api functions
How come node_modules don't need to be reinstalled like that? or do they?
10 replies
TTCTheo's Typesafe Cult
•Created by domi? on 1/17/2023 in #questions
Local Database for Vercel hosted api functions
Does it fully clear everything, then reinstall it again at a new request?
10 replies
TTCTheo's Typesafe Cult
•Created by domi? on 1/17/2023 in #questions
Local Database for Vercel hosted api functions
I thought it only just stop the execution so you lose memory
10 replies
TTCTheo's Typesafe Cult
•Created by domi? on 1/17/2023 in #questions
Local Database for Vercel hosted api functions
i understand that, but does serverless mean it also wipes the file system?
10 replies
TTCTheo's Typesafe Cult
•Created by domi? on 1/4/2023 in #questions
NextAuth wrong error redirect
Here are my settings:
2 replies
TTCTheo's Typesafe Cult
•Created by domi? on 1/2/2023 in #questions
Overwrite the default types of AdapterUser
2 replies
TTCTheo's Typesafe Cult
•Created by domi? on 12/26/2022 in #questions
Prisma - differences between id, unique, and index
I see, so
@id
will make it the field the primary key, @unique
, will just mean that postgres won't create that new row unless that value is unique within that column, and @index
just creates an index? 👀30 replies
TTCTheo's Typesafe Cult
•Created by domi? on 12/22/2022 in #questions
tRPC SSG - Page rendering error
And that if I want to enable ssr for one specific query, then I have to set
ssr: false
, and use the SSG helper?7 replies
TTCTheo's Typesafe Cult
•Created by domi? on 12/22/2022 in #questions
tRPC SSG - Page rendering error
Also, does this mean that if I set
ssr: true
, then all queries are prefetched on my NextJS app by default?7 replies
TTCTheo's Typesafe Cult
•Created by domi? on 12/22/2022 in #questions
tRPC SSG - Page rendering error
7 replies
TTCTheo's Typesafe Cult
•Created by domi? on 12/22/2022 in #questions
tRPC SSG - Page rendering error
Lemme give it a read
7 replies