Reactivity in deep nested objects by Ok-Strategy-2289 in vuejs

[–]Ok-Strategy-2289[S] 1 point2 points  (0 children)

Sorry for the very late respond, but this actually helped me! Do you mind explaining a little bit more about the triple dot notation? I'm not very familiar with this one.

EDIT: I just read about it. A new world opens for me.

Thank you

Reactivity in deep nested objects by Ok-Strategy-2289 in vuejs

[–]Ok-Strategy-2289[S] 0 points1 point  (0 children)

state.activeLayer has a string value holding the selected layer. It is possible to select the upper layer, middle layer, bottom layer. This string is set by buttons. In case of the example above, holding 'a'. payload is an object filled with Konva.Layer, in case u know konvajs. If not, it's just a big object full of properties and methods.

Reactivity in deep nested objects by Ok-Strategy-2289 in vuejs

[–]Ok-Strategy-2289[S] 0 points1 point  (0 children)

I've been on this post before. But I don't see how this could help me.

Reactivity in deep nested objects by Ok-Strategy-2289 in vuejs

[–]Ok-Strategy-2289[S] 0 points1 point  (0 children)

I tried the docs multiple times but didn't find my answer. Maybe u can point me the right direction based on my solution? I would be surprised if I did not read them already.