Answer the question
In order to leave comments, you need to log in
Why does reactivity disappear when objects are merged?
If I write
let object1 = reactive({ });
let object2 = { test: 123 }
object1.name = object2.test;
let object1 = reactive({ });
let object2 = { test: 123 }
object1 = {
...object1,
...object2
};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question