News for hackers. Stuff that matters.
Re:Vue.js: The Documentary (Trailer) [video] by iovrthoughtthis on Tuesday February 18, 2020 @04:06AM (#22354548)
No it isn’t.

React will simply render the object you give it. That means that React doesn’t need to know when data changes, it simply renders the ui, diffs it to the current ui and applys the changes.

Unless your using component state but even then, it’s the rendering that measures change. The act of updating the state just lets React know “time to see if anything important changed”. Vue seems to tra Co data changes granularly which means it needs to understand the change at the point if mutation. This means it needs control of the data you want to render.

There are no comments on this comment yet.