You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this library.
I have a suggestion for an additional feature which I think will be useful.
Right now you have to pass in an array of arrays.
That means that if I have an object that contains a property for the "value" and another property for the "weight", I would have to transform it to that temporary array.
What if instead I could do this:
I understood your suggestion but, unless the array is really huge, you can just do a .map as you said to generate the input. I would like to keep this module simple.
Hi.
Thanks for this library.
I have a suggestion for an additional feature which I think will be useful.
Right now you have to pass in an array of arrays.
That means that if I have an object that contains a property for the "value" and another property for the "weight", I would have to transform it to that temporary array.
What if instead I could do this:
Thanks!
The text was updated successfully, but these errors were encountered: