Exploring the Interactivity API in WordPress Part 1
So begins another project! This time back inside WordPress. Brian and Aurooba discuss the Interactivity API in WordPress. They explore how to use the API, the challenges they faced, and the benefits it provides. They also touch on JavaScript modules and how they are used in the context of the Interactivity API. The conversation ends with a discussion about future topics to cover in the series as they build out the plugin using the API.
A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter to hear about episodes (and more) first!
- Quick Start Guide - https://developer.wordpress.org/block-editor/reference-guides/packages/packages-interactivity/#quick-start-guide
- Interactivity API Proposal - https://make.wordpress.org/core/2023/03/30/proposal-the-interactivity-api-a-better-developer-experience-in-building-interactive-blocks/
- WP Movies - https://wpmovies.dev/
- Our demo repo - https://github.com/viewSourcePodcast/vs-reading-list
- Brian's website – https://www.briancoords.com
- Aurooba's website – https://aurooba.com
- (00:00) - Introduction
- (01:12) - Introducing the next project!
- (03:23) - What is the Interactivity API?
- (06:00) - The WooCommerce usecase
- (07:18) - How Interactivity API fits into the larger picture
- (10:02) - The Alpine.js Comparison
- (11:57) - So what project are we building?
- (15:24) - Tracking the list with Local Storage
- (16:44) - Using a resource already being loaded on the site
- (19:55) - How do you get started with the Interactivity API?
- (21:45) - What are JavaScript Modules?
- (32:56) - What's next in the series?
Creators and Guests
Host
Aurooba Ahmed
(she/her) Developer building bespoke #WordPress solutions, tools, and blocks. My name is pronounced "oo-ROO-ba" — Default to kindness, folks.