Exploring the Interactivity API in WordPress Part 2
Failed to add items
Sorry, we are unable to add the item because your shopping cart is already at capacity.
Add to Cart failed.
Please try again later
Add to Wish List failed.
Please try again later
Remove from wishlist failed.
Please try again later
Adding to library failed
Please try again
Follow podcast failed
Please try again
Unfollow podcast failed
Please try again
-
Narrated by:
-
By:
Aurooba and Brian dig deeper into the WordPress Interactivity API. This episode mostly focuses on the HTML directives they used in their custom blocks, how they work with block markup, and how the Interactivity API uses them to hydrate data. Along the way they also compare it to other templating and logic tools like the ones in Laravel and Next.js from previous episodes.
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!
- https://github.com/WordPress/gutenberg/discussions/categories/interactivity-api?discussions_q=is%3Aopen+category%3A%22Interactivity+API%22
- https://twitter.com/SethRubenstein
- https://twitter.com/DevelopWoo
- https://developer.wordpress.org/block-editor/reference-guides/packages/packages-interactivity/packages-interactivity-api-reference
- Brian's website – https://www.briancoords.com
- Aurooba's website – https://aurooba.com
- (00:00) - S03E14 Sequence
- (00:09) - Introduction
- (01:21) - Packages vs Feature Plugins
- (04:24) - Browsing the Documentation
- (08:24) - Preview of our frontend block
- (09:53) - HTML Directives
- (13:12) - Conventions for binding and events handlers
- (16:31) - Callbacks and Actions
- (18:37) - State, Context and Loops
- (20:04) - Using Attributes and Hydration
- (24:01) - Wrapping up and Next Steps
No reviews yet