Expose the minimal Interactivity API in a public package #50866
Labels
[Feature] Interactivity API
API to add frontend interactivity to blocks.
[Type] Experimental
Experimental feature or API.
[Type] Tracking Issue
Tactical breakdown of efforts across the codebase and/or tied to Overview issues.
This list of tasks is aimed at exposing publicly the minimal version of the Interactivity API that we are using privately for the Core blocks so people can start experimenting with it.
IMPORTANT
interactivity
branch.trunk
.Next
@wordpress/interactivity
)view.js
files.store
as a globalDependencyExtractionWebpackPlugin
yet, we can doconst { store } = wp.interactivity
, butmaybe it works out of the box(it worked out of the box).defer
again later.interactivity.js
files to simpleview.js
files?Once we finish this list of tasks, the
interactivity
branch will be ready to be merged withtrunk
and we can continue adding more features. But again, we'll wait until the 6.3 feature freeze to merge it.The text was updated successfully, but these errors were encountered: