pedro77
pedro77
Explore posts from servers
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
moment of sadness theoDisgusted
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
It's kinda disheartening to feel like nobody has thought of this simple issue, are these features getting adopted or is it just me?
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
Yeah, that might work (workaround), just I was expecting revalidatePath() to do what the name of the function suggests
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
react-hook-form can't persist data, as far as I can see
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
Why not? it's unmounted everytime we use it
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
The docs says is stable, they lie to us?
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
Bro, I feel like a beta tester, app router is stable, isn't it? How is this not working?
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
I added that and doesn't help bro
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
If you try to modify the second time, you'll get staled data
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
Add and modify a post in that codesandbox please
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
I'm on it
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
I'll work on a code sandbox
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
I asked in the Nextjs discord and nobody seems interested in answering that question
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
So my question is: is it possible to revalidate anything other than fetch() functions?
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
No @n1xx1
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
The only way I don't get staled data is by doing full page reload which, I mean, it definitely sucks... the whole point of RSC is not to make a backend, isn't it? I feel like I need a backend right now
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
@nyx (Rustular DevRel) Tried it anyway, nothing changes
46 replies
TTCTheo's Typesafe Cult
Created by pedro77 on 5/8/2023 in #questions
Revalidate prisma query in `page.ts` RSC
The problem is revalidate and all the other functions like revalidatePath and revalidateTags all seem to work only for the fetch implementation next team made, not for prisma
46 replies