Lodash 4

  • TMB

    The currently installed version of Lodash is 3.10.1.
    I've been trying to use methods like orderBy, pullAllBy, differenceBy, but they all are only available starting 4.0.0
    I expect I'll end up looking for many more methods like these. Are there plan for upgrading lodash ?

  • IIUC the main problem is that it's not backwards compatible.

  • YP

    you can also include lodash 4 in your code... it's a bit heavy but there is lodash-es for example where you can only import what you use. (if you use some kind of rollup or webpack or something like that to create your final code.)


  • Dev Team

    That's correct, upgrading lodash may break someone's code.