Show loading while revalidatePath().
Unanswered
ABUL KALAM posted this in #help-forum
I am using
revalidatePath() in Next Server Actions. The issue is, after revalidatePath() gets called, it takes 2-3 seconds to update the UI. How can I show a spinner for that loading?