Re:Why React Re-Renders
by ReadTheLicense on Tuesday August 16, 2022 @06:22PM
(#32489752)
Problem is, Web Components still don't support reactivity and passing complex props, so you need a framework anyways, and at that point it might as well be React.
I've seen people do abominations like each web component is a React root, message passing systems on the side for complex objects... better use React directly
Re:Why React Re-Renders
by RussianCow on Wednesday August 17, 2022 @03:03AM
(#32493165)
> Years have passed, and web browsers have matured to the point when a native component model has become a reality.
This is not true at all, at least not enough to be able to completely replace React (or any frontend framework) with native APIs. You still need some sort of high-level abstraction(s) to tie everything together.
I am deeply puzzled by both your and the sibling comment, which suggest that the only way to go is to build a framework. To advance such argument, especially when comparing something to React, is to forget that: