Update directives prefix to data-woo-#8316
Conversation
|
The release ZIP for this PR is accessible via: Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the TypeScript Errors Report
Detailsassets/js/interactivity/directives.js |
|
Size Change: +140 B (0%) Total Size: 1.1 MB
ℹ️ View Unchanged
|
woo- and wpx to wooStoredata-woo- and wpx to wooStore
|
This PR has been marked as If deemed still relevant, the pr can be kept active by ensuring it's up to date with the main branch and removing the stale label. |
data-woo- and wpx to wooStoredata-woo-
luisherranz
left a comment
There was a problem hiding this comment.
LGTM. I also left a minor comment.
| @@ -0,0 +1,3 @@ | |||
| export const cstMetaTagItemprop = 'woo-client-side-transitions'; | |||
There was a problem hiding this comment.
I'm not sure if we will remove it later once we switch to Product block-only navigation, but to match the upstream this should now be called woo-client-side-navigation.
There was a problem hiding this comment.
OK, I think I've already included those changes in #8447, so I'm going to merge this PR and continue the development there.
What
Rename existing
wpprefixes todata-woo.Tracking issue: woocommerce/woocommerce#42486
Why
It is better if we don't use
wpfor now, as this is going to be something woo-specific until the final Interactivity API is released.How
Basically, updating the interactivity library to match WordPress/block-interactivity-experiments#142 and changing the value of the properties defined in
constants.js.