There's e.g. Object.keys(obj).forEach(...) and similar. _ is useful, but not always needed, especially if you care how many dependencies your project has. For a functional construct-heavy project, I'd choose Ramda.
I'll always choose Ramda. I find it much more intuitive and I feel like having data passed as the last parameter to functions allows for much more composable, clean code.
With lodash/fp you can be a cool kid whose apps don't hit critical perf issues or have to be rewrite for every minor upgrade. It's also cool to not have to wonder about support because fp is tested in browsers & node 😎
0
u/atmin_ Jan 26 '16
There's e.g.
Object.keys(obj).forEach(...)and similar. _ is useful, but not always needed, especially if you care how many dependencies your project has. For a functional construct-heavy project, I'd choose Ramda.