I found a Next.js 13 revalidatePath BUG
ฝัง
- เผยแพร่เมื่อ 3 พ.ย. 2024
- This video shows how to get the path for the revalidatePath function. The current Next.js 13 documentation is wrong.
Other Videos:
Next.js 13 API Route Handlers Full CRUD: • Next.js 13 API Route H...
#nextjs13 #api #nextjs
This is very helpful I ran into this today
Thanks Next Bug man
Lol you're welcome. I just came out with ANOTHER revalidation fix video. You'll probably want to watch that one too because I found this video's bug fix does not work with client side components.
When doing revalidatePath from a server action it was revalidating my whole homepage is it because of this?
To me it looks like revalidateTag doesn't work as described neither. It's always null, even though I've copy-pasted from the docs 🤔
🤨