Repository navigation
refactor: replace lodash with radash - #16797
Conversation
|
This pull request has conflicts ☹ |
|
This pull request has conflicts ☹ |
| "immutability-helper": "~2.8.1", | ||
| "langmap": "0.0.16", | ||
| "lodash": "^4.17.21", | ||
| "lodash.throttle": "^4.1.1", |
There was a problem hiding this comment.
Can we remove "lodash.throttle": "^4.1.1", ?
How come lodash removal does not remove lines from package-lock.json?
There was a problem hiding this comment.
lodash is used on another package, I will check if there's a way to remove it
|
Kudos, SonarCloud Quality Gate passed!
|
|
This pull request has conflicts ☹ |
|
You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab. |
|
Kudos, SonarCloud Quality Gate passed! |
| // to have annotations from different pages | ||
| // group annotations by same whiteboardId | ||
| _.each(_.groupBy(annotations, "wbId"), (whiteboardAnnotations) => { | ||
| const groupedAnnotations = annotations.reduce((r, v, i, a, k = v.wbId) => ((r[k] || (r[k] = [])).push(v), r), {}) //groupBy wbId |









What does this PR do?
Replaces lodash with radash and some native functions.
Motivation
https://medium.com/vanguards-of-code/lodash-is-dead-long-live-radash-d9d52abf428b