YoVDO

Modal in Next.js and React - Create a Dialog Component

Offered By: Dave Gray via YouTube

Tags

Next.js Courses Web Development Courses React Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Introduction to ReactJS
Microsoft via edX
Front-End Web Development with React
The Hong Kong University of Science and Technology via Coursera
Multiplatform Mobile App Development with React Native
The Hong Kong University of Science and Technology via Coursera
Client-based Web Applications development: ReactJS & Angular
Universidad Politécnica de Madrid via Miríadax
React
Udacity