Tentative conclusion after being burned in performance too many times: Diffing (like in React, but by no means is this unique to React) is a sign that there's something wrong with your framework design.
I don't understand. If you're using structural sharing and reference equality to do your diffing, then you're doing incremental update. So why not just embrace incremental update?
-
-
That was my observation "Why not make incremental updates fast, *via* diffing". I suppose we might just have slightly different definitions of "diffing" and "incremental update". What do you see as the main difference? Why is React one and not the other?
-
The alternative to diffing seems to be chaining layers of persistent data structures with memoized render() methods.
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.