How to Build a Reusable Modal in Next.js

preview_player
Показать описание

🌐 Check out more content:

💻 Get the Source Code:

🌐 Recommended Digital Tools (Affiliate Links):

👍 If you found this video helpful, please like, and subscribe!

❓ Any questions? Drop them in the comments below!

#Coding #nextjs
Рекомендации по теме
Комментарии
Автор

how do i avoid converting the component into client component? for example if i have a product listing page where i have the function to delete the product, and upon clicking the delete button i want to have a popup, but for me to use useContext i will have to convert the product listing page to a client component, which is not ideal

gamiebear
Автор

Nice one. Can you please show how to use this modal for add/edit form.

OnlyJavascript
Автор

Why choose context?
And when the child components gets rerender?

rajashekhar