CodeZettaInterview Hub

Next.js · Server Actions · Tech Lead · Architecture

Lead: standardize Server Action usage across teams.

Short Interview Answer

Conventions for 'use server' file placement, zod schemas, auth guards, revalidation helpers, and observability.

Detailed Explanation

Create shared `action` wrappers that enforce authz + logging. Ban ad-hoc DB calls from random client components without review.

Did you know this answer?