by HNcow · 10y ago · 0 comments
I currently use underscore 1.8.3. Can I just swap lodash in, or is refactoring involved? I know it's a fork, and I want to move over, but was curious if anyone know off the top of their heads if a lot of work as involved.
_.each(collection, _.bind(function, context))
Which actually seems a lot more correct than some arbitrary context parameterLodash v2 was not but offered an lodash.underscore.js build.
Lodash v3 dropped the compat build in favor of using individual lodash modules until you're able to transition
Lodash v4 continues the view of v3