---
title: "Discussion on \"Validate data in both Server Actions and Client in NextJs using Zod and React-Hook-Forms\" | Hashnode"
description: "Discussion on \"Validate data in both Server Actions and Client in NextJs using Zod and React-Hook-Forms\". Server Actions, introduced in Next.js version 14, are a convenient way to create functions that execute exclusively on the server side offering several advantages such as security, performance etc. Building robust applications often requires data val..."
url: "https://hashnode.com/posts/validate-data-in-both-server-actions-and-client-in-nextjs-using-zod-and-react-hook-forms/662aa752671a89e9b3a7597b"
---

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

Discussion

# [Validate data in both Server Actions and Client in NextJs using Zod and React-Hook-Forms](https://iamstarcode.hashnode.dev/validate-data-in-both-server-actions-and-client-in-nextjs-using-zod-and-react-hook-forms?utm_source=hashnode&utm_medium=feed)

Server Actions, introduced in Next.js version 14, are a convenient way to create functions that execute exclusively on the server side offering several advantages such as security, performance etc. Building robust applications often requires data val...

Apr 25, 2024 · 4 min read · iamstarcode.hashnode.dev  
Updated May 12, 2024  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-hook-form](https://hashnode.com/tag/react-hook-form)
-   [#validation](https://hashnode.com/tag/validation)
-   [#nextjs-server-actions](https://hashnode.com/tag/nextjs-server-actions)

## Written by

[Abiola Bakare](https://hashnode.com/@iamstarcode)

@iamstarcode

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
