Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to build a Next.js Modal Form with React-Hook-Form, ShadCN/ui Dialog, Server Actions, and Validation in this comprehensive tutorial. Explore the process of creating a modal form that launches from a table of results, a common use case in business applications. Dive into key concepts including TypeScript integration, TailwindCSS styling, and leveraging Next.js features. Follow along to implement type-safe data fetching with zod-fetch, construct form components using react-hook-form, and create server actions with Zod validation. Gain practical experience in applying and rendering modals, handling form submissions, and integrating confirmation pop-ups. Perfect for developers looking to enhance their Next.js and React skills with real-world application development.
Syllabus
Intro
Welcome
What's Your Story?
Next.js Modal with a Form
Prerequisites
Project Dependencies
Example App
App Components & Routing
Fetching Type-Safe Data with zod-fetch
Form Component with react-hook-form
Save Alert Confirmation Pop-up
Applying & Viewing the Modal
onSubmit Function
Next.js Server Action w/ Zod Validation
Rendering the Form with Server Action Responses
Taught by
Dave Gray