Articles by Tag #zod

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Using Zod with TypeScript: A Guide for Frontend Developers

If you're building a frontend application, you're likely working with data. Whether you're fetching...

Learn More 117 19Aug 17 '24

How to Validate File Inputs in TypeScript with Zod

Form validation is an essential aspect of web development. It plays a crucial role in maintaining an...

Learn More 76 0Nov 1 '24

Top 5 Validation Libraries for JavaScript in 2024

Choosing the best validation library for your JavaScript project can be confusing given the many...

Learn More 27 0Aug 3 '24

NextJs image upload with zod validation

Hello everyone 👋 Today I wanted to share one of my recent struggles: uploading files with validation...

Learn More 19 3Jul 14 '24

Multi-Image Uploader for Next.js | Shadcn/ui

I’ve always had a thing for building small, efficient, and responsive components—especially when it...

Learn More 13 0Feb 23

Zod vs. Valibot: Which Validation Library is Right for Your TypeScript Project?

In a TypeScript world, solid validateing libraries an are essential to your data-structures adheres...

Learn More 12 2Aug 28 '24

Introducing the Zod Schema Designer: A Visual Tool for Creating and Editing Zod Schemas

If you’re a developer using Zod for schema validation in your Next.js or React projects, I have...

Learn More 10 2Dec 30 '24

Why React Hook Form and Zod are Essential to Build Contact Form

Creating a robust and user-friendly contact form is a vital part of any web application. A poorly...

Learn More 9 1Dec 30 '24

Gerando Documentação de API Automática com Fastify, @fastify/swagger e Zod

Olá, devs! Neste post, vamos aprender como gerar documentação automática para uma API em uma...

Learn More 8 2Oct 3 '24

Easily Sync Your Subtitles with React, RHF and shadcn/ui

Introduction As a big fan of movies and TV shows, I often run into subtitle syncing issues...

Learn More 8 0Jan 22

Implement ShadCn form with Validation

Our Goal or Funda is very simple. Follow 4 steps implement a super duper form with validation with...

Learn More 7 0Jul 3 '24

Building a Type-Safe Form in NextJs with Zod

Forms are a crucial part of any web application, and building them in a type-safe manner ensures...

Learn More 7 2Aug 22 '24

ReScript Schema V9 - Zod-like library to the next level 🚀

The article is an overview of changes introduced in the recently released version 9. After more than...

Learn More 7 0Jan 9

Data Validation in Your Backend: A Practical Guide

Data validation is one of the most crucial steps in building a robust backend system ensuring data...

Learn More 6 0Aug 22 '24

Branded Types in TypeScript: techniques

In this post, I’ll walk you through several ways to implement branded types in TypeScript. If you’re...

Learn More 6 1Jun 11

Crafting Type-Safe Zod Helpers: A Deep Dive into `preprocess` and TypeScript Wizardry

When building TypeScript applications with Cucumber for testing, a common challenge emerges: handling...

Learn More 6 1May 13

zod i18n internationalization

background using zod for validation, and need to internationalize the application. ...

Learn More 5 0Aug 2 '24

Use Server Side Forms in NextJS

I utilized Server Actions, React Server Components (RSC), and Next’s App Router while exploring Forms...

Learn More 4 0Jul 14 '24

Making a REST API typesafe with React Query and Zod

Using React Query alongside TypeScript and Zod, we can achieve a type-safe, efficient data fetching process in React that ensures consistency

Learn More 3 0Jul 31 '24

Form Validation In TypeScipt Projects Using Zod and React Hook Form

Introduction Form validation is an important aspect of software development. This is...

Learn More 3 0Jul 18 '24

Using Zod's z.union: An Important Pitfall to Avoid

When using the schema z.union([z.object({}), anotherSchema.partial()]);, Zod checks if the object...

Learn More 3 0Nov 7 '24

Zod v4 got 17x Slower than v3 🚦

A surprising finding about Zod v4’s performance, what it means for you, and how to avoid the pitfalls.

Learn More 2 0May 3

Zod Validation in [React + Typescript]

Zod Zod is a TypeScript-first schema declaration and validation library. It allows you to...

Learn More 1 0Jan 31

Validating Environment Variables in Node.js with Zod

Ever pushed a project to production only to realize an environment variable was missing or mistyped?...

Learn More 1 0May 22

Make Your TypeScript API Responses Safer with Zod (in seconds)

One of the most common problems we run into when trying to type our API responses—besides it being...

Learn More 1 1Jun 16

Shared form with config files in NextJs

Building a shared form for React with zod, react-hook-form and shadcn ui library.

Learn More 1 0Jan 9

Zod: The Ultimate Validation Library for TypeScript

This post was originally posted here on my site codespoetry.com Zod is a TypeScript-first schema...

Learn More 1 0May 30

Zod for TypeScript Schema Validation: A Comprehensive Guide

I have really enjoyed using TypeScript in all my node projects, and I like enforcing static type...

Learn More 0 0Dec 30 '24

[Boost]

Zod: The Ultimate Validation Library for TypeScript Ashik...

Learn More 0 1Jun 16

Zod: The Ultimate Validation Library for TypeScript

Zod: The Ultimate Validation Library for TypeScript Ashik...

Learn More 0 0May 30