Noam Muallem
TTCTheo's Typesafe Cult
•Created by Noam Muallem on 4/10/2024 in #questions
next js on vercel revising home page after 404 does not re-render
Hi, I have a t3 stack app (basic but with clerk and not next auth).
on local wen I navigate to my broken 404 page and back home, everything seems to be find but on production (vercel) when I go back to the home page, it does not re-render and stack on the 404.
Any help will be appreciated...
I am using chad cn for the navbar, this is the link component:
and this is the logo Link component:
2 replies
TTCTheo's Typesafe Cult
•Created by Noam Muallem on 4/26/2023 in #questions
optional authenticated tRPC function
Hi, how can I build a function that can handle a user possibly signed in?
I feel like it’s pretty common pattern, but I fine myself defining 2 functions that are basically the same, one for authenticated users and one for unauthenticated.
Thanks for the help
4 replies
TTCTheo's Typesafe Cult
•Created by Noam Muallem on 3/26/2023 in #questions
next auth cypress test
Hi I have been trying to write an integration test using the next auth test documentation (witch are out dated), can some one please share he’s working solutions? By the was this is the guide I tried to follow: https://next-auth.js.org/tutorials/testing-with-cypress
11 replies
TTCTheo's Typesafe Cult
•Created by Noam Muallem on 3/8/2023 in #questions
SEO best practices in t3
Hi, I am new to the t3 stack, coming from remix.run (which was a big letdown).
I want to create an e-commerce app using SSR technologies with a decent + SEO.
As far as I can tell and from the examples I see, the data is fetched on the client using react-query.
Can some one refer my to a blogpost or a github project or video, any material out there on the subject? thanks!
1 replies