
The WordPress Interactivity API: Add Front-End Interactivity to Blocks Without a Framework
Making a block interactive used to mean jQuery or bundling your own React. The Interactivity API is WordPress's standard, framework-free way to add front-end interactivity to server-rendered blocks - with directives and a store. How it works, with real code.