Modal in Next.js and React - Create a Dialog Component
Offered By: Dave Gray via YouTube
Course Description
Overview
Learn how to create a reusable modal component in Next.js and React in this comprehensive tutorial video. Explore the differences between modals and dialogs, understand the unique considerations when building modals for Next.js versus React, and discover why managing modal state with URL parameters is preferable to using useState. Follow along as the instructor guides you through creating a dialog component, implementing it on a page, and enabling server actions in Next.js. Gain insights into the advantages of using URL parameters for state management and learn best practices for building modals in modern web applications.
Syllabus
Intro
Welcome
Lesson Goals
Starter Code Review
Creating the Dialog Component
Adding the Dialog to a page
A Big Difference between Next.js & React
Enabling Server Actions in Next.js
Viewing the differences between Modals & Dialogs
Why manage state with URL Params?
Wrap up
Taught by
Dave Gray
Related Courses
Build a Full Stack Twitter clone with Next.jsCoursera Project Network via Coursera Next JS with React Hooks - Building SSR React Applications
Udemy End to End React with Prisma 2
Udemy Build a Server Rendered Website with Next.js
Coursera Project Network via Coursera Next.js 14 & React - The Complete Guide
Udemy