HTML Web Components

In this web content, the author reflects on the confusion surrounding the term “web components” and its relationship to “React components”. The author acknowledges that building web components in the same way as React components can be frustrating and emphasizes that they have different design priorities. Web components prioritize enhancement over replacement, allowing them to render before JavaScript, which React components cannot do. The author introduces the concept of “HTML web components” as a way to extend existing markup and enhance its functionality. They highlight the idea that augmentation and enhancement, rather than replacement, are the most effective approaches for long-lasting success on the web. The author suggests that React is also moving towards a model of composition and enhancement over time.

https://blog.jim-nielsen.com/2023/html-web-components/

To top