4 ms·
What gonna happen to all those engines/framework with Shadow DOM Views technologies? In short is the end of React?
by Ideabile 11y ago
What gonna happen to all those engines/framework with Shadow DOM Views technologies? In short is the end of React?
- quest88 11y agoWhy do you think it'd be the end of React?
- JDDunn9 11y agoEventually yes, web components will likely kill off the usefulness of most front end frameworks.
- mbrock 11y agoGeneral note to people engaging in technological conversations: When posting strong statements, please consider including explanations, arguments, and maybe some definitions. This helps other people understand your claims, and is a big part of what makes "reason" such a powerful thing. More information here: https://en.wikipedia.org/wiki/Reason https://en.wikipedia.org/wiki/Reason
- bsimpson 11y agoReact's virtual DOM is an implementation detail - its real power is in how easy it makes it to write composable components. If Web Components are ever a faster render target than the DOM, you can trust that ReactDOM will be upgraded to comply (in the same way that Ember aped React's virtual DOM as Glimmer). That said, I have a feeling Web Components add complexity (and weight) to the render path. I doubt they will be faster than DOM diffing in the near term (although with any new web tech, there's always the possibility that they'll make available performance optimizations that can't be supported in the traditional DOM).
- eob 11y agoI agree there will probably be a performance lag for a while, but long-term I think the WC model wins out because it brings encapsulation and reuse into the formal suite of W3C specs. That's not a big deal for any one web app, but a huge deal across web development in general.
- marknutter 11y ago> ReactDOM will be upgraded to comply Except, it won't. They've explicitly stated they have no interest in conforming to or adapting the web components standard.
- deleted 11y ago[deleted]