Friedrich
TTCTheo's Typesafe Cult
•Created by Hamza Ali Turi on 3/11/2025 in #questions
Revalidation for data using next.js 15 route handlers
Anyways, glad to see you have already found a way to solve the problem 👍
9 replies
TTCTheo's Typesafe Cult
•Created by Hamza Ali Turi on 3/11/2025 in #questions
Revalidation for data using next.js 15 route handlers
They work everywhere on the server side, especially with server actions and API routes. Often we use revalidate (revalidateTag or revalidatePath) after a mutation. Mutations generally don't happen in server components. Because they are mostly used to fetch data when needed, not to mutate data.
I have used revalidateTag in both server actions and API routes and they both work
9 replies
TTCTheo's Typesafe Cult
•Created by Hamza Ali Turi on 3/11/2025 in #questions
Revalidation for data using next.js 15 route handlers
Since it is a cache related function, it should be called on the server side
9 replies
TTCTheo's Typesafe Cult
•Created by Hamza Ali Turi on 3/11/2025 in #questions
Revalidation for data using next.js 15 route handlers
Have you tried to keep revalidateTag on the server side (on the API route) ?
9 replies
TTCTheo's Typesafe Cult
•Created by AmohPrince on 2/27/2025 in #questions
Where the hell do you guys buy your domains
Porkbun
13 replies