Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Zod is a JavaScript library that allows developers to build schemas for their data. It is simple yet powerful, providing a fluent API for constructing schemas and validating data. With Zod, you can create complex, nested object schemas with deep type inference, default values, transformations, and more.
On the server-side, you will typically use Zod validation in your route handlers, immediately after receiving a request. Here's an example using the Nitric framework:
Related posts
- From Flaky to Flawless: Angular API Response Management with Zod
- TypeScript Essentials: Distinguishing Types with Branding
- You can’t run away from runtime errors using TypeScript
- Epic Next JS 14 Tutorial Part 4: How To Handle Login And Authentication in Next.js
- Error handling in our form component for the NextAuth CredentialsProvider