loading...

re: Thought on Vue 3 Composition API - `reactive()` considered harmful VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Nice article, thank you! To be honest, I”m a little disappointed in the new reactivity system. I think if it’s immutable, the final code is more s...
 

Why would .push more likely to introduce spaghetti code?

Will deep object mutation trigger updates only in specific child component?

Yes.

A component will only re-render if the dependencies of the render function are changed. So if a child component do not depend on the "deep object mutation", then it should not be re-rendered.

code of conduct - report abuse