Global vs Local Modals - it is a great architectural question that you should answer when coding your app.
⏱️Timestamps:
00:00 - z-index stacking issue
00:19 - React Portals
00:27 - Global Modal Architecture Trend
01:08 - Modal's Law
01:22 - Problems with Local Modals
02:10 - Global Modal comparison
02:33 - "Dumb" Implementation
03:09 - "Sophisticated" Implementation
05:05 - Global vs Local Modal
05:18 - Costs of Global Modal Architecture
05:52 - Rendering Problem
06:10 - Context Problem
06:53 - Why Local Modals drawbacks are rly not that bad
08:45 - When Global Modals are actually useful
09:28 - The Rule of Least Power
📖 Further Reading and Acknowledgments:
Nice Modal React - Announcement: / rethink-modals-management-in-react
Nice Modal React - GitHub: https://github.com/eBay/nice-modal-react
Elon Musk interview from Everyday Astrounat: • Starbase Tour with Elon Musk [PART 1 // Su...
On this page of the site you can watch the video online Why 95% of Modals should be Local (in React) with a duration of hours minute second in good quality, which was uploaded by the user UI Engineering 19 May 2024, share the link with friends and acquaintances, this video has already been watched 13,906 times on youtube and it was liked by 543 viewers. Enjoy your viewing!