Re:Netflix: Removing client-side React.js improved performan...
by tomasroggero on Friday October 27, 2017 @04:31PM
(#15571969)
> That's React in 8 lines of jQuery
No sir, that doesn't include server side rendering or diff rendering either (meaning changing a bit on the top component would re render all markup, not just what has changed)
Stop trying to over-simplify. The problem being discussed here is not React vs jQuery. It's what we do and the decisions we make as engineers to provide a good experience based on performance which is OUR side of UX.
Re:Netflix: Removing client-side React.js improved performan...
by bigmanwalter on Friday October 27, 2017 @08:37PM
(#15573364)
I mean, you can use either the of the morphdom or setdom libraries to do the diffing if you don't want to replace all the HTML, but the concept remains the same.
I'm not convinced by arguments such as "when you're a large team it's necessary". Scaling teams has more to do with project structure than what rendering library you use.
Likewise, it's much easier to tweak performance when you aren't depending on a monolith like React or Angular.
There's no need for a vdom for the most part, template strings and innerHTML are fast enough on their own.
I just find React to be an overly complicated way to achieve its goals.
That's React in 8 lines of jQuery. My framework is just a minor extension to this concept.