[wp-trac] [WordPress Trac] #43049: jQuery-indipendent frontend

WordPress Trac noreply at wordpress.org
Tue Jan 9 01:34:51 UTC 2018


#43049: jQuery-indipendent frontend
-----------------------------------------+-----------------------------
 Reporter:  valdrinkoshi                 |      Owner:
     Type:  enhancement                  |     Status:  new
 Priority:  normal                       |  Milestone:  Awaiting Review
Component:  Themes                       |    Version:  4.9.1
 Severity:  normal                       |   Keywords:
  Focuses:  ui, javascript, performance  |
-----------------------------------------+-----------------------------
 It would be great to have a jQuery-independent theme shipped by WordPress.
 Removing jQuery and using native platform features can result in big
 improvements of loading and Time-To-Interactive times - see these
 examples:
 https://github.com/woocommerce/woocommerce/issues/17877
 https://github.com/woocommerce/storefront/issues/631

 Looking at the twentyseventeen theme, only 3 files rely on jQuery:
 - global.js
 - navigation.js
 - customize-preview.js

 jQuery is mainly used to interact with the DOM. These interactions should
 be easy to replace with native DOM APIs, and eventually free the theme
 from the jQuery dependency.

 Would you be interested in exploring this?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43049>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list