[wp-trac] [WordPress Trac] #59462: Blocks: Introduce a way to enqueue view scripts only when needed for interactivity

WordPress Trac noreply at wordpress.org
Tue Sep 24 07:34:11 UTC 2024


#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.7
Component:  Interactivity API  |     Version:  6.4
 Severity:  normal             |  Resolution:
 Keywords:  gutenberg-merge    |     Focuses:
-------------------------------+-----------------------

Comment (by gziolo):

 In [changeset:"59083" 59083]:
 {{{
 #!CommitTicketReference repository="" revision="59083"
 Build: Prepare for more Script Modules

 This is a companion to https://github.com/WordPress/gutenberg/pull/65460
 that requires syncing in WordPress Core. Namely, the block-library changes
 require registration with their updated script module IDs so that the
 blocks continue to work correctly.

 They key improvement is script modules registration is handled in one
 central place, and a combined asset file is used to improve the
 performance by avoiding multiple disk operations for every individual
 file.

 Props jonsurrell, gziolo, wildworks, noisysocks.
 See #60647, #59462.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59462#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list