News for hackers. Stuff that matters.
Re:React is becoming a black box by api on Thursday September 03, 2020 @02:21PM (#24367021)
It's really unfortunate that Web Components are utterly useless. They simply are not components. It's insane.
Re:React is becoming a black box by azangru on Thursday September 03, 2020 @03:18PM (#24367686)
I am not sure what you mean. Youtube is built on web components. Github is using web components. There are various libraries that can do web components, including Preact, Vue, or Svelte: https://webcomponents.dev/blog/all-the-ways-to-make-a-web-co...
Re:React is becoming a black box by spankalee on Thursday September 03, 2020 @04:53PM (#24368765)
In what way are they not components? They have identity, state, can draw output, and accept user input.

What's your definition of component?