Multiple assignments
It would be nice if it supported multiple assignments.
For ex:
dotProp.mset (state, {path1 : value1, path2 : value2})
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...