-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
- Part of Block API #41236.
In the previous iteration for WordPress 6.8, the focus was on addressing the limitations in the region-based client-side navigation and improving the full-page client-side navigation experiment, as well as finishing interactive features for the Gallery, Query, and Search blocks. Not all the work could be carried out that time, though.
Now, for WordPress 6.9, we are resuming part of this work, specifically the client-side navigation feature, as it requires some tweaks after being reimplemented in #70353 to support styles and script modules from newly visited pages.
Additionally, other issues have been identified regarding the iAPI runtime initialization that also need to be tackled.
As always, the task list is live and can be modified or expanded at any time. 🙂
Fixes
Async store loading
- iAPI: Review the initialization logic #70870
- iAPI router: Support lazy loaded derived state #70872
- iAPI router: Synchronous getter execution prevents
state
access when store is initialized after hydration #70874
New client-side navigation algorithm
- Query Loop: Allow Post Content block with the "force page reload" setting disabled #70871
- iAPI Router: Only load modules of interactive blocks on client-side navigation #70873
- iAPI router: Add an
isRouterRegion
property inblock.json
for automatic incompatible blocks detection #70875 - iAPI Router: Styles inside
noscript
tags are wrongly applied on client-side navigation #70876 - iAPI router: Move internal properties to a private store #70879
Docs
- Docs: Interactivity API - Create a Core Concepts section for the iAPI #62921
- Namespaces and scopes
- Client-side navigation
Deprecations/improvements
- iAPI: Add official support for unique IDs #70880
- iAPI: Implement a
data-wp-if
directive #70878 - iAPI: Deprecate
data-wp-ignore
#70881