Ways to make a web component
webcomponents.dev
Ways to make a web component
1–10 of 200 posts
Re: Ways to make a web component
#2Importing components that have been made with different framework come with their extra bunde overhead, at least that what looks to me at first glance.
Re: Ways to make a web component
#3I say that only slightly in jest, as it is a neat way to show all (or most) of your options.
Although it doesn't have my at-the-moment favorite way to make web components, blazor/web assembly. For me, it's made front-end development fun again, which I haven't enjoyed in a long time.
Re: Ways to make a web component
#4Re: Ways to make a web component
#5Re: Ways to make a web component
#6Re: Ways to make a web component
#7Now regarding the results: Are there any actual usecases where one would choose Angular over some other library?
From what i’ve seen from before and now this, i am not aware of a single reason why would anyone choose to use it, if they are not constrained by legacy codebase or if there are no stubborn developers who swear by it.
Re: Ways to make a web component
#8Tell it what you want in plain English, then it builds you a web component in a random language that happens to be React.
I wonder if in the future we’ll be comparing the size of components generated by an ML model...
Re: Ways to make a web component
#9I love the simplicity of StencilJS. Not sure why it's adoption is so low but those guys have put a lot of work. Much better than what Google is doing with Lit Element.
Re: Ways to make a web component
#10This is neat, but I wish there were more examples than just a counter. I would never use something like Angular, React, or Vue to implement something so trivial.
Also if you're in a React project, yes, you would use it for a counter. Obviously you wouldn't use React for just a counter, but it's a great way to show the basics of working with each option.