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

ความคิดเห็น • 6

  • @TheyCallMeFelix
    @TheyCallMeFelix ปีที่แล้ว +1

    This is very helpful I ran into this today

  • @tebogolemekoana3013
    @tebogolemekoana3013 ปีที่แล้ว +1

    Thanks Next Bug man

    • @NativeNotify
      @NativeNotify  ปีที่แล้ว

      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.

  • @sulavbaral9972
    @sulavbaral9972 ปีที่แล้ว

    When doing revalidatePath from a server action it was revalidating my whole homepage is it because of this?

  • @username4794
    @username4794 ปีที่แล้ว

    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 🤔

  • @draftermyself
    @draftermyself ปีที่แล้ว

    🤨