We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do you replace lodash to sort an array of objects by object ('foo') key ('bar')?
_.sortBy(myarray, 'foo.bar')
The text was updated successfully, but these errors were encountered:
@gilles6 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries
I've been using this plugin, and running into stuff like this; I may try coming up with some updates to submit based on my findings.
Sorry, something went wrong.
This is probably one of the reasons the docs say (may not) need lodash
(may not) need lodash
Likely a few steps needed here for this replacement
Note that lodash also allows multi field sorting, _.sortBy(users, ['user', 'age']), which would add to the complexity
_.sortBy(users, ['user', 'age'])
No branches or pull requests
How do you replace lodash to sort an array of objects by object ('foo') key ('bar')?
The text was updated successfully, but these errors were encountered: