News for hackers. Stuff that matters.
Re:Ways to make a web component by illumanaughty on Friday July 17, 2020 @12:06PM (#23872012)
This distills the differences into the simplest possible example, which given the number of examples is incredibly useful.

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.

Re:Ways to make a web component by M2Ys4U on Friday July 17, 2020 @12:21PM (#23872186)
>Obviously you wouldn't use React for just a counter

You probably shouldn't, but there are a lot of people who reach for a React component to do anything on the web.