FrontendOne schema, two runtimes: API contracts with Zod
Treating the Laravel resource as a contract and letting the frontend refuse anything that breaks it.
TypeScriptZodLaravel
By Tubagus6 min read
Field notes
Results
in Frontend
FrontendTreating the Laravel resource as a contract and letting the frontend refuse anything that breaks it.
FrontendType-safe routing, clearer loaders, and the few things I still miss.
FrontendRendering on demand, pausing off-screen and other ways to keep a 3D hero from cooking laptops.