Comments (12)
/cc @breakbild, @DTrejo, @gonsfx, @jeffv, @JulesAU
from lodash.
/cc @cashlo, @fearphage, @kopious, @jou, @grignaak, @vkovalskiy
from lodash.
/cc @lazylester, @mattyurka, @russplaysguitar, @iwyg, @chadhietala, @jeremyckahn, @taybin, @ironchefpython
from lodash.
Awesome, thanks for the update. Great work on this! I tried swapping Underscore for Lo-Dash in Rekapi some time back and a few tests broke, but it looks like Lo-Dash has grown quite a bit. I will give it another shot.
from lodash.
Great work on this!
Thanks!
I tried swapping Underscore for Lo-Dash in Rekapi some time back and a few tests broke, but it looks like Lo-Dash has grown quite a bit. I will give it another shot
While Lo-Dash is a drop-in replacement I have optimized and re-organized methods for common/tested/documented use. Some edge cases may slip through.
In this case the issue is _.pluck(this._actors, 'id')
as Lo-Dash had optimized _.pluck
to iterate over arrays-only (as thats the example and tested usage). I will re-evaluate the _.pluck
optimization.
from lodash.
I will re-evaluate the _.pluck optimization.
Cool! I'll reconfigure Rekapi so that I can easily switch between Underscore and Lo-Dash for development. I think it's a good source of practical data points to test Lo-Dash against. This is a cool project and I'd love to help out!
from lodash.
Were these optimizations rejected from underscore? I'm a bit confused on why there's a rebranding of a fork without an attempt to get the improvements into the original project.
Although I am glad to see AMD support, which I know was declined by @jashkenas.
from lodash.
I'm a bit confused on why there's a rebranding of a fork without an attempt to get the improvements into the original project.
Lo-Dash started as a reverted pull request.
Check out my reply to "What makes Lo-Dash different from Underscore" – #28 (comment)
from lodash.
@jdalton Thanks. You might want to make the justification a little more prominent.
from lodash.
Ok, all Rekapi unit tests pass with the edge version of Lo-Dash.
Thanks. You might want to make the justification a little more prominent.
I am prepping a third screencast to cover it.
from lodash.
Ok, all Rekapi unit tests pass with the edge version of Lo-Dash.
Sweet! Thanks for this, I am updating the Rekapi repo to easily switch between Lo-Dash and Underscore now.
from lodash.
This is nice. I'll give this a try
from lodash.
Related Issues (20)
- Merge mutates source object if nested property is a class instance
- Future compatibility with Node.js/npm HOT 1
- Allow Default Value for toNumber("problem", 0) HOT 8
- isBuffer from lodash-es doesn't work HOT 1
- curryRight is broken in list.map context HOT 1
- Avoiding Lodash version disclosure HOT 1
- multiple vulnerabilities that exist in lodash.findlast HOT 4
- Attempt structuredClone in cloneDeep before doing manual clone HOT 6
- _.trimStart not work with "/" char
- _.kebabCase and _.camelCase treat some digits as delimiters but not others HOT 1
- async attempt
- lodash-es outdated HOT 1
- feature request: Safe maths functions HOT 6
- Alias `_.tail` to `_.last` HOT 2
- _.deburr() - ț not convert to t HOT 3
- Typescript error HOT 7
- Discussion on Performance Issues of `trimStart` and `trimEnd`(关于 `trimStart` 和 `trimEnd` 性能问题的讨论) HOT 3
- array _.difference bug HOT 1
- CVE-2021-23337 lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function. HOT 4
- There may be a bug here HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lodash.