---
title: "Discussion on \"Building Type-Safe Auth in React with React Hook Form, Zod and Zustand\" | Hashnode"
description: "Discussion on \"Building Type-Safe Auth in React with React Hook Form, Zod and Zustand\". Auth is a good test of a React codebase. It touches forms, validation, global state, routing and an API, and every one of those can go wrong in small ways.\nIn this post I build a small login and regis"
url: "https://hashnode.com/posts/building-type-safe-auth-in-react-with-react-hook-form-zod-and-zustand/6afe5a9bd75a52b3d6d6c0ac"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building Type-Safe Auth in React with React Hook Form, Zod and Zustand](https://leeonscoding.hashnode.dev/building-type-safe-auth-in-react-with-react-hook-form-zod-and-zustand?utm_source=hashnode&utm_medium=feed)

Auth is a good test of a React codebase. It touches forms, validation, global state, routing and an API, and every one of those can go wrong in small ways. In this post I build a small login and regis

42m ago · 9 min read · leeonscoding.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#auth](https://hashnode.com/tag/auth)
-   [#zod](https://hashnode.com/tag/zod)
-   [#zustand](https://hashnode.com/tag/zustand)
-   [#react-hook-form](https://hashnode.com/tag/react-hook-form)
-   [#expressjs](https://hashnode.com/tag/expressjs)

## Written by

[Asfaq Leeon](https://hashnode.com/@leeonscoding)

@leeonscoding · Dhaka, Bangladesh

  
[View profile](https://hashnode.com/@leeonscoding)

Senior Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
