alexjyoung
alexjyoung
Explore posts from servers
TTCTheo's Typesafe Cult
Created by alexjyoung on 1/9/2023 in #questions
Scss in Next without modules?
🐐 thank you!
7 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 1/9/2023 in #questions
Scss in Next without modules?
this works if disabled is a subclass of MyComponent, i.e. .MyComponent { background-color: red; border-radius: 10px; &.disabled { background-color: white; } } ?
7 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 12/2/2022 in #questions
tRPC Input from a Prisma Schema
great thakn you
11 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 12/2/2022 in #questions
tRPC Input from a Prisma Schema
no yeah agreed, its definitely not the ideal in a lot of situations
11 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/22/2022 in #questions
Lotsss of files being changed
gah why isnt this working lmao wtf
14 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/22/2022 in #questions
Lotsss of files being changed
not using turborepo
14 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/22/2022 in #questions
Lotsss of files being changed
weird, i have it setup as a monorepo with the create-t3 app inside packages/giterate-app. In gitignore, I have /packages/giterate-app/.next/ but still those files show up
14 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/18/2022 in #questions
Redirect If Not Authed Pattern
ah, this wrapper is in the create-t3-app starter, didnt realize it was supposed to be used like that
15 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/18/2022 in #questions
Redirect If Not Authed Pattern
okay cool so should be fine to do it this way?
15 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/18/2022 in #questions
Redirect If Not Authed Pattern
oh gotcha
15 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/18/2022 in #questions
Redirect If Not Authed Pattern
HoC?
15 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/16/2022 in #questions
Conditional Redirects
really appreciate it!
29 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/16/2022 in #questions
Conditional Redirects
ah gotcha. Will try that out
29 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/16/2022 in #questions
Conditional Redirects
yeahh those ones
29 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/16/2022 in #questions
Conditional Redirects
and then, client side redirect with that sessionData
29 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/16/2022 in #questions
Conditional Redirects
like for instance in the session() callback, we attach the user id to session.user.id. should there be a db check and also attach my other data at that point maybe?
29 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/16/2022 in #questions
Conditional Redirects
hmm this is weird.seems like there should be an obvious thing to do here with next auth right?
29 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/16/2022 in #questions
Conditional Redirects
looks like there are redirect() and session() callbacks in the NextAuth options (session() is defined by default with create-t3-app). Would I end up doing the query in there or am i totally misunderstanding ur point
29 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/16/2022 in #questions
Conditional Redirects
so the only api/auth route is the [..nextauth].ts stuff
29 replies
TTCTheo's Typesafe Cult
Created by alexjyoung on 11/16/2022 in #questions
Conditional Redirects
hmm so Im using the nextAuth signIn() hook
29 replies