Open sanjarcode opened 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.
Do the above (i.e. CSS Tricks) or do https://nicedoc.io/mateusortiz/webcomponents-the-right-way
https://css-tricks.com/an-introduction-to-web-components/#aa-article-series