

#164 – Milana Cap on the Interactivity and HTML APIs, and Their Enormous Potential
5 snips Apr 9, 2025
Milana Cap, a WordPress Engineer at XWP from Serbia, shares her insights from WordCamp Asia, discussing the transformative Interactivity and HTML APIs. She explains how the Interactivity API enhances cross-block communication for a more dynamic user experience. The HTML API simplifies server-side DOM manipulation using PHP, making code more manageable and efficient. Milana also highlights the impact of these tools on performance and the importance of community in fostering innovation within WordPress development.
AI Snips
Chapters
Transcript
Episode notes
Interactivity API Connects Blocks
- The Interactivity API connects Gutenberg blocks to communicate seamlessly and share data.
- It standardizes interaction across blocks, replacing fragmented, hacky solutions used previously.
Netflix-Style Interactivity Demo
- Milana described a Netflix-style demo using the Interactivity API with favorites and minimized video playback.
- The demo shows page navigation without full reloads, impressively maintaining video playback and interactivity.
Master Interactivity API Use
- To use Interactivity API effectively, understand where to place your code for best results.
- Experiment by placing code in different blocks and practice to grasp optimal use of interactivity.