[wp-trac] [WordPress Trac] #48654: Consider a solution/endpoint to lazy-load scripts and styles

WordPress Trac noreply at wordpress.org
Thu Mar 9 10:43:38 UTC 2023


#48654: Consider a solution/endpoint to lazy-load scripts and styles
--------------------------+------------------------------------------------
 Reporter:  youknowriad   |       Owner:  spacedmonkey
     Type:  task          |      Status:  assigned
  (blessed)               |
 Priority:  normal        |   Milestone:  Future Release
Component:  REST API      |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript, rest-api, performance
--------------------------+------------------------------------------------

Comment (by youknowriad):

 Hey @spacedmonkey and thanks for proposing to work on this ticket.

 At the time this ticket was created, import maps and es modules were in
 their infancy. Now, it's clearer to me that basically this ticket should
 be closed or repurposed to rely on es modules and import maps that way we
 embrace the web platform.

 In other words, I think the solution to this is to revive the exploration
 I've done here https://github.com/WordPress/gutenberg/pull/34172

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


More information about the wp-trac mailing list