-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
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
Multiple assignments #30
Comments
Maybe like #16 |
Hi @gsouf , I will try to have a look into that ASAP. Thanks for the suggestion. |
@hilleer thanks for output would be nice if multiple assignement was optimized in order not to recreate the whole object everytime. We have had some performances issues with that when updating many nested fields on large objects at once. Solved by extracting object and updating them by hand before injecting them again, but we lost the benefit of the ease of use of dot prop. Do you think there is something we could do for that? |
Not sure about that @gsouf. Will have a deeper look into it... |
It would be nice if it supported multiple assignments.
For ex:
dotProp.mset (state, {path1 : value1, path2 : value2})
The text was updated successfully, but these errors were encountered: