[wp-trac] [WordPress Trac] #64122: Interactivity API: Add data-wp-router-region directive to the script modules of interactive blocks
WordPress Trac
noreply at wordpress.org
Mon Oct 20 22:00:28 UTC 2025
#64122: Interactivity API: Add data-wp-router-region directive to the script
modules of interactive blocks
-------------------------------+--------------------
Reporter: luisherranz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.9
Component: Interactivity API | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------------+--------------------
WordPress 6.9 will introduce a new client-side navigation algorithm that
starts loading JavaScript when you navigate between pages. However,
loading script modules from non-interactive blocks during navigation isn't
safe and could cause errors or unexpected behavior. To support this new
navigation algorithm, we need a way to identify which script modules
belong to interactive blocks in the HTML. This lets the Interactivity API
router determine which modules it can safely load during client-side
navigation and which ones it should skip.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64122>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list