Consider using WP Script Modules API #411
Labels
priority: low
The issue/PR is low priority—not many people are affected or there’s a workaround, etc.
type: enhancement
The issue is a request for an enhancement.
User story
As discussed in during the review of #398 (comment) our scripts would be more async and defer friendly. This could let us use the latest WP Script Modules API.
This could let us use a bit more modern standard, and write the code closer to the one actually executed in the browser.
Unfortunately, for now, we cannot switch yet.
google-tag-manager,
which needs to stay there.Describe alternatives you've considered
Use classic scripts as we use today.
Acceptance criteria
Unknowns
Out of bounds/rabbit holes
Event tracking
The text was updated successfully, but these errors were encountered: