48votes
12answers
1600views
Asked by Aarav Mehta7 days ago
How should I structure server actions in a large Next.js app?
I am splitting mutations by domain, but cache invalidation is becoming hard to reason about as the app grows.
#nextjs#architecture#server-actions#cache