Need advice about which tool to choose?Ask the StackShare community!
DataTables vs Lodash: What are the differences?
What is DataTables? A plug-in for the jQuery Javascript library. It is a highly flexible tool, built upon the foundations of progressive enhancement, that adds all of these advanced features to any HTML table.
What is Lodash? A JavaScript utility library. A JavaScript utility library delivering consistency, modularity, performance, & extras. It provides utility functions for common programming tasks using the functional programming paradigm.
DataTables and Lodash can be categorized as "Javascript Utilities & Libraries" tools.
Lodash is an open source tool with 40.7K GitHub stars and 4.23K GitHub forks. Here's a link to Lodash's open source repository on GitHub.
According to the StackShare community, Lodash has a broader approval, being mentioned in 126 company stacks & 296 developers stacks; compared to DataTables, which is listed in 6 company stacks and 9 developer stacks.
Fast Healthcare Interoperability Resources (FHIR) provides standard data objects in JSON format for the healthcare industry. Since JSON objects are hierarchical and tree-like, we had a need to defensively 'pluck' fields from our JSON objects and do lots of mapping. We tried jQuery and Underscore and a few other technologies like FHIRPath; but Lodash has been the most well supported, works in the most contexts, has the cleanest syntax, etc. We particularly like the ES6 version of Lodash, where we can import
the method names directly, without resorting to * or _ syntax. We got hooked on the 'get' function to defensively pluck fields from objects without crashing our user interface, and have found countless uses for the other lodash functions throughout our apps.
Lodash is great for developing and optimizing algorithms.
Pros of DataTables
Pros of Lodash
- Better than Underscore2
- Simple1
- Better that Underscore0
Sign up to add or upvote prosMake informed product decisions
Cons of DataTables
Cons of Lodash
- It reduce the performance1