Typing API Responses With Zod

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • DotNetReactZodApp

    The sample .NET 6 React app with Zod typing for API responses

    The sample code used within this article is available on GitHub. We will use ASP.NET Core (C#) and React (TypeScript) apps as examples.

  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • react-hook-form

    📋 React Hooks for form state management and validation (Web + React Native)

    You can definitely do many things with zod. It can be used together with libraries like react-hook-form to perform complex forms validation. However, in our case, we’ll treat zod as a solution for better typings in TypeScript.

  • zod

    TypeScript-first schema validation with static type inference

    Remember that zod is an extended library with many options. I recommend exploring them on your own. An interesting feature we didn’t cover in this article is strict mode, which doesn’t allow additional fields not present in the schema definition when validating the data object.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Taming Forms in React TypeScript: A Deep Dive into Formik and Yup

    2 projects | dev.to | 22 Jul 2024
  • [React JS] I don't know a better way to handle Forms in React

    2 projects | dev.to | 6 Feb 2024
  • Using Zod with React hook form using typescript

    2 projects | dev.to | 16 Mar 2023
  • Don't use useEffect in forms

    2 projects | dev.to | 21 Dec 2022
  • Nest JS Websockets - Pipes and E2E Validation with Zod

    2 projects | dev.to | 10 Dec 2022