Why 95% of Modals should be Local (in React)

Veröffentlicht am: 19 Mai 2024
auf dem Kanal: UI Engineering
13,906
543

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...  


Auf dieser Seite können Sie das Online-Video Why 95% of Modals should be Local (in React) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer UI Engineering 19 Mai 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 13,906 Mal angesehen und es wurde von 543 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!