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.
That's stacking the deck. The better question is "can I efficiently manage partial updates in my app?". Presuming React's costs is bonkers.
-
-
That was the state of the world before React. The whole world recognized the benefit of the lowered cognitive load for the engineer and switched to diffing. Saying we should go back to the way we all walked away from without a fix for the cognitive load is short sighted
-
No, it's not. One could have plausibly made that case in...say...'14 or '15. But not now. And I don't put this down to diffing specifically; it's the cultural shift away from product-level goals to developer-local goals that's fucking us.
- 1 more reply
New conversation -
-
-
How would you lower reflow costs and preserve UI state such as focus without partial rendering?
-
Or a better question: is there a way to do partial updates without diffing or manually managing the updates?
End of conversation
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.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.