sanjar-notes / web-components

My understanding of the W3C WebComponents spec and using it
0 stars 0 forks source link

Exhaustive series of articles #1

Open sanjarcode opened 2 years ago

sanjarcode commented 2 years ago

https://css-tricks.com/an-introduction-to-web-components/#aa-article-series

sanjarcode commented 2 years ago

Why learn this, reusability is a basic software design pattern, and it should remain framework agnostic, which it is.

I realized somewhat late, that React.js does allow reusable components, but it's not that central to React. Declarativeness is the USP of React, not components.

sanjarcode commented 2 years ago

Do the above (i.e. CSS Tricks) or do https://nicedoc.io/mateusortiz/webcomponents-the-right-way