jesse
Explore posts from serversTTCTheo's Typesafe Cult
•Created by jesse on 7/12/2023 in #questions
PWA (next-pwa)
Has anyone tried to use the next-pwa with the T3 stack? Having trouble following some tutorials that I found since they are used outside of the T3 stack
1 replies
TTCTheo's Typesafe Cult
•Created by jesse on 4/5/2023 in #questions
Do I need the redirect callback here?
Hi!
I was try to send the user to the /home uri after the sign in workflow, but saw that I can do that with the redirect callback. I did read in the docs thought that I can just add the options for { callbackUrl: "http://localhost:3000/home" } in my signin() callback. So I was wondering do I even need the redirect callback declared in my auth.ts file?
Code for Client:
Code for Auth.ts:
1 replies
TTCTheo's Typesafe Cult
•Created by jesse on 3/31/2023 in #questions
Question about the use of useSession() callback
Why do all of the examples do the const {data:sessionData} for the callback when you can just write ?
5 replies
TTCTheo's Typesafe Cult
•Created by jesse on 3/8/2023 in #questions
Issue with useMutation() when trying to test React component
Hi,
I am having issues with my test failing since it cannot render the component properly because of this error:
Component:
If someone has also set up testing with vitest in their project, I would also be down to just start from the beginning with you. I have been trying to get this to render all day 😕
11 replies
TTCTheo's Typesafe Cult
•Created by jesse on 11/11/2022 in #questions
What is everyone using for testing their T3 App?
I just wanted to hear some thoughts on testing philosophy as well as any implementation that people have.
12 replies
TTCTheo's Typesafe Cult
•Created by jesse on 11/6/2022 in #questions
Authentication with Credentials with Create T3
Hi! Has anyone done a project using create t3 then used credentials with NextAuth? I found a tutorial online, but it seems to do things pretty differently from the way they would be done in the create t3 scaffolding.
For reference this is the article that I was looking at, https://dev.to/franciscomendes10866/nextjs-authentication-with-next-auth-trpc-and-prisma-kgl. I tried to add/configure from this project to the create t3 scaffold, but I didn't have any success.
6 replies