[wp-trac] [WordPress Trac] #43733: Replace Underscores.js with Lodash.js

WordPress Trac noreply at wordpress.org
Thu Apr 16 20:38:14 UTC 2020


#43733: Replace Underscores.js with Lodash.js
--------------------------------------+------------------------------
 Reporter:  ChopinBach                |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  External Libraries        |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback needs-patch  |     Focuses:  javascript
--------------------------------------+------------------------------

Comment (by desrosj):

 @adamsilverstein @aduth Can you summarize what the levels of effort and
 risk would be for tackling this?

 @sc0ttkclark 100%. I don't know that we would deprecate it, but leaving it
 available through `wp_enqueue_script()` or as a dependency is definitely
 the best way for backwards compatibility. I think we could continue
 packaging Underscore for a few releases, or we could switch to loading it
 from an external CDN.

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


More information about the wp-trac mailing list