-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Feature] Interactivity APIAPI to add frontend interactivity to blocks.API to add frontend interactivity to blocks.[Type] ExperimentalExperimental feature or API.Experimental feature or API.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
Description
- Part of Block API #41236.
In Expose the minimal Interactivity API in a public package, we exposed publicly the private and minimal version of the Interactivity API that we were using to test the Core blocks.
This new list of tasks is aimed to complete the Interactivity API publicly testable version, so it's the same full version as the one used in the block interactivity experiments repository (but without client-side navigation yet, which we'll add in a second phase).
Please, refer to the new Docs Tracking Issue to keep track of the documentation efforts.
Tasks
- Add the full Interactivity API runtime (but removing the client-side navigation)
- Add missing directives: Interactivity API: Add missing directives and move e2e tests #51194
- Add missing e2e tests: Interactivity API: Add missing tests for
body
,init
andon
directives #52952 - Add missing JSDocs to the code: Interactivity API: Add JSDoc comments to the public API #52469
- Add first docs and structure (as markdown files in Gutenberg for now): Open "docs" folder for the Interactivity API package and Getting Started Guide #52462
- Add server-side rendering: Interactivity API: initial support for SSR #51229
- Add the
wp_store
function: Interactivity API: addwp_store
#51191
- Add the
- Add
defer
again to all the interactive blocks (and runtime): Use defer loading strategy for frontend view scripts #52536
Discarded
Addwp-html
(decide final name and research security issues).
Metadata
Metadata
Assignees
Labels
[Feature] Interactivity APIAPI to add frontend interactivity to blocks.API to add frontend interactivity to blocks.[Type] ExperimentalExperimental feature or API.Experimental feature or API.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.Tactical breakdown of efforts across the codebase and/or tied to Overview issues.