[wp-trac] [WordPress Trac] #43733: Replace Underscores.js with Lodash.js
WordPress Trac
noreply at wordpress.org
Tue Apr 10 14:30:10 UTC 2018
#43733: Replace Underscores.js with Lodash.js
--------------------------------+-----------------------------
Reporter: ChopinBach | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: External Libraries | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------------+-----------------------------
Should we replace Underscores.js with Lodash.js?
[https://wordpress.slack.com/archives/C5UNMSU4R/p1523367735000195
Discussed in Slack today (April 10th, 2018)].
It was suggested for converting WP Core to lodash,
[https://github.com/facebook/jscodeshift jscodeshift] could be leveraged.
Here is a list of [https://github.com/lodash/lodash/wiki/Migrating API
pairings between lodash and underscores].
Concerns:
Lodash 5.0 is set to have some
[https://github.com/lodash/lodash/wiki/Roadmap backwards incompatible
changes] that could make the migration awkward.
General backwards compatibility concerns as well. How do we want to handle
Backwards Compat? Most likely only core will be changed, and a migration
path/tool will be offered out to theme/plugin authors.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43733>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list