`revalidatePath` and `noStore`
Unanswered
Mugger Crocodile posted this in #help-forum
Mugger CrocodileOP
if a server component has
noStore, indicating that the results should be fetched from database prior to each render, do we still need to call revalidatePath prior to redirecting to that component?1 Reply
@Mugger Crocodile if a server component has `noStore`, indicating that the results should be fetched from database prior to each render, do we still need to call `revalidatePath` prior to redirecting to that component?
American
No, if you fetching data and write cache no store you make your page SSR. if you wanna revalidate, add in fetch function
{next: {revalidate: 10(seconds)}}