[wp-trac] [WordPress Trac] #59462: Blocks: Introduce a way to enqueue view scripts only when needed for interactivity
WordPress Trac
noreply at wordpress.org
Thu Sep 28 12:51:16 UTC 2023
#59462: Blocks: Introduce a way to enqueue view scripts only when needed for
interactivity
-------------------------+-----------------------
Reporter: gziolo | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.5
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+-----------------------
Comment (by luisherranz):
> It could even allow us to introduce new strategies that allow loading
scripts based on some triggers like: when a user hovers over a UI element
or when the UI element is visible on the screen.
I started a discussion about lazy loading support a few months ago here:
https://github.com/WordPress/gutenberg/discussions/52723
I plan to work on all this after WP 6.4 is released.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59462#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list