Interactivity API: Include preact/debug when SCRIPT_DEBUG is enabled#6527
Interactivity API: Include preact/debug when SCRIPT_DEBUG is enabled#6527DAreRodz wants to merge 4 commits intoWordPress:trunkfrom
preact/debug when SCRIPT_DEBUG is enabled#6527Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
The I tried this patch, and the changes work as expected: diff --git a/package.json b/package.json
index 0d2549d42c..ed3cae92ff 100644
--- a/package.json
+++ b/package.json
@@ -112,7 +112,7 @@
"@wordpress/html-entities": "3.51.1",
"@wordpress/i18n": "4.51.1",
"@wordpress/icons": "9.42.4",
- "@wordpress/interactivity": "5.0.5",
+ "@wordpress/interactivity": "5.5.0",
"@wordpress/interactivity-router": "1.1.5",
"@wordpress/interface": "5.28.6",
"@wordpress/is-shallow-equal": "4.51.1",
|
dc8c566 to
9fbcb9b
Compare
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
|
Committed with https://core.trac.wordpress.org/changeset/58195. |


Syncs the changes from the following PR:
preact/debugwhenSCRIPT_DEBUGis enabled gutenberg#60514Enqueues a different Interactivity API runtime version with
preact/debugwhenSCRIPT_DEBUGis enabled.Trac ticket: https://core.trac.wordpress.org/ticket/61171
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.