dingo
TTCTheo's Typesafe Cult
•Created by Lumberjack on 7/2/2023 in #questions
next-auth
Yes, except you mean a hash 🙂
425 replies
TTCTheo's Typesafe Cult
•Created by JuaniS on 6/1/2023 in #questions
Is it possible to generate a github action to build a preview of a pull request in nextjs?
Are you currently using the vercel bot to deploy?
6 replies
TTCTheo's Typesafe Cult
•Created by JuaniS on 6/1/2023 in #questions
Is it possible to generate a github action to build a preview of a pull request in nextjs?
Are you using Vercel?
6 replies
TTCTheo's Typesafe Cult
•Created by awexis on 2/10/2023 in #questions
react hook form + headless ui
@Valhalaar
14 replies
TTCTheo's Typesafe Cult
•Created by awexis on 2/10/2023 in #questions
react hook form + headless ui
Hm
14 replies
TTCTheo's Typesafe Cult
•Created by awexis on 2/10/2023 in #questions
react hook form + headless ui
@awexis Do you prefer combobox (single mode) over select?
14 replies
TTCTheo's Typesafe Cult
•Created by awexis on 2/10/2023 in #questions
react hook form + headless ui
but that means that if I use that api query anywhere else im going to have to do a nested object
14 replies
TTCTheo's Typesafe Cult
•Created by awexis on 2/10/2023 in #questions
react hook form + headless ui
I suppose
14 replies
TTCTheo's Typesafe Cult
•Created by awexis on 2/10/2023 in #questions
react hook form + headless ui
The problem is that my form is validated with my zod schema, if it isnt a string that is an id then it fails, I can't grab it from the submit handler because the submit handler only gets called when the schema has been validated correctly against the form...
14 replies
TTCTheo's Typesafe Cult
•Created by awexis on 2/10/2023 in #questions
react hook form + headless ui
This looks to be what I want to do, I just wanted to have a value function that chose the value for the output via the passed in generic single item, not sure if that's what you thought I meant, I might have to further abstract my approach to do it like your example I'm going to try to reimplement my solution later. Thanks for the help 🙂
14 replies
TTCTheo's Typesafe Cult
•Created by yaviscoke on 2/6/2023 in #questions
Why useQuery runs multiple times?
Huh, didn't know that, I think that relates to the refetch on focus 🙂
9 replies
TTCTheo's Typesafe Cult
•Created by mrnicericee on 2/3/2023 in #questions
Import order
Yeah, I can see how that can be an issue, if VS Code would do auto importing all the time it wouldn't be so big of a problem lol
20 replies
TTCTheo's Typesafe Cult
•Created by yaviscoke on 2/6/2023 in #questions
Why useQuery runs multiple times?
Another thing to add is that by default tRPC refetches on window focus & component remount (for queries). This means that whenever you click into another application and go back, it will refetch again, as well as when your component library unmounts and remounts a custom component.
9 replies