fszabo
TTCTheo's Typesafe Cult
•Created by fszabo on 7/5/2023 in #questions
Does App Router have getStaticPaths? Does it even need that?
Thank you so much! I'll take a look!
7 replies
TTCTheo's Typesafe Cult
•Created by fszabo on 5/10/2023 in #questions
prisma.update returns promise but doesn't do anything (most of the time)
Just had one record update 5 hours after the call.
4 replies
TTCTheo's Typesafe Cult
•Created by fszabo on 5/10/2023 in #questions
prisma.update returns promise but doesn't do anything (most of the time)
4 replies
TTCTheo's Typesafe Cult
•Created by fszabo on 5/10/2023 in #questions
prisma.update returns promise but doesn't do anything (most of the time)
I've been doing research but still have not solved this.
Prisma does lazy evaluation: https://github.com/prisma/docs/issues/800
But that still does not explain the behaviour.
I have tried every possible way of triggering the evaluation. e.g:
e.g. without await or void (just in case that magically made a difference)
4 replies
TTCTheo's Typesafe Cult
•Created by fszabo on 5/9/2023 in #questions
Can someone explain the difference between page router and app router?
Thank you very much for the answers! 😃
4 replies
TTCTheo's Typesafe Cult
•Created by fszabo on 5/9/2023 in #questions
Can someone explain the difference between page router and app router?
Thanks for the quick reply RobotSail!
That brings up another question:
What's the relation between tRPC and app router?
4 replies