-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interactivity API iteration for WordPress 6.8 #67276
Comments
Just an update that when we saw work on #63689 stop we decided to pick up what was there and continue development of a new |
Wonderful, thanks Seth! 👏 I've added the Dialog block to the list 🙂 |
WordPress/wordpress-develop#7751 ( |
Just a note of appreciation for proactively opening this and continuing to track work so clearly. Thank you ❤ |
|
I have just opened a PR to solve the problems with style sheets. It's currently a draft. I'm working on adding e2e tests to ensure everything works as expected. |
In WordPress 6.7, work focused on important improvements to enhance the stability and simplicity of the Interactivity API internals, the introduction of new APIs like
getServerState
/getServerContext
andwp_interactivity_get_element
, improvements to the types, and progress on the Gallery block lightbox and Query block’s Instant Search.In WordPress 6.8, the primary focus will be on:
Work is also continuing to improve the documentation, tracked in the Interactivity API documentation's Tracking Issue.
This is the list of initial tasks, although we will edit this post as we progress and discover other things that we need to do.
Client-side navigation (priority)
data-wp-interactive
in the body.getServerContext
andgetServerState
invalidate the computations when there’s navigation, even if the value doesn't change.navigation.isLoading
state to core/router store #67680General enhancements
withEvent
and require Interactivity API actions that use the event object to use itwithEvent
and require Interactivity API actions that use theevent
object to use it #64944array.length
access in references on the serverdata-wp-class
data-wp-style
Core blocks (priority)
data-wp-bind--style
data-wp-portal
query_loop_block_query_vars
filter #67181pre_get_posts
filter #67289Core blocks (optional)
Bug fixes
data-wp-each
getsundefined
#67174WP_Interactivity_API::_process_directives()
when there is acore/button
text
block bindingOptional
data-wp-client-only-component
data-wp-slot
anddata-wp-fill
array[0]
access in referencesgetElement()
attributes
navigate()
failure statesnavigate()
Failure States #59856The text was updated successfully, but these errors were encountered: