3 ms·
> A framework component is effectively a reusable block of code. So is a web component…
by youngtaff 3y ago
> A framework component is effectively a reusable block of code.
So is a web component…
- lelanthran 3y agoDo you think that there is a distinction between "reusable block of JavaScript" and "reusable HTML element"? To me there is a larg distinction but I do concede that to others there may be no difference.
- LudwigNagasena 3y agoBoth Web Components and Framework Components utilize JS and HTML.
- lelanthran 3y ago> Both Web Components and Framework Components utilize JS and HTML. If you're writing them, certainly. For web designers, using Web Components means not having to know JS, not having to know React, not having to know hooks, not having to know usememo, etc. That's, to my mind, a large enough distinction: the requisite knowlege to reuse a framwork's components needs a full time developer. The knowledge required to reuse a web component is ... HTML (and maybe CSS?)