Comments (5)
I'd say this is an edge case that is not worth adding more complexity (and runtime cost) for all invocations. I don't mind adding a equals.recursive
flavor of equals so that users can opt-in to it, but I don't think it will see much usage.
@TkDodo, wdyt?
from remeda.
I agree. But if we decide that this is "an edge case that is not worth adding more complexity (and runtime cost)", I think the recursive checks can also be removed from PR with mergeDeep.
from remeda.
I generally agree, with the onlh difference being that that is a new function without existing users so new adopters take it as a whole. Fixing equals would mean changing it for existing users
from remeda.
@dartess, is there anything actionable you want to do with this issue? I'm thinking of closing it as it's now findable if anyone else encounters the issue and search our issues so they can find this discussion.
from remeda.
I don't think it's necessary to do something about it if you don't feel like doing something about it. So, just closing.
from remeda.
Related Issues (20)
- Allow `conditional.defaultCase` to infer its return type HOT 3
- Incorrect type assertion for isIncludedIn HOT 5
- Add optional `obj` parameter to `Evolver`? HOT 4
- Add `invariant` HOT 2
- Add `some` and `every`? HOT 16
- [Feature Request]: Support Maps in isDeepEqual HOT 6
- Add `sortedUniq` HOT 6
- Further improve `stringToPath` types; consolidate `setPath` and `pathOr`? HOT 5
- isDeepEqual and negation in guard can break type HOT 6
- Typing issue when using `isDeepEqual` in `differenceWith` function HOT 2
- Why is fromKeys typed with Partial<>? HOT 3
- `groupBy` has broken types HOT 3
- Test against Typescript nightlies HOT 2
- [Feature Request] Remeda ESLint Plugin HOT 7
- Add mergeAndConcat function HOT 1
- add mapEntries function HOT 6
- Add "R" or "Remeda" globally to the docs website for easy experiments HOT 4
- Add `mapAccum` HOT 5
- Unexpected types when using isNullish/isNonNullish in conditional HOT 1
- Incorrect type assertion in negative case for hasSubObject HOT 1
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 remeda.