News for hackers. Stuff that matters.
Re:Microsoft Fast Design by Vinnl on Saturday August 08, 2020 @03:49AM (#24089851)
They're different from built-in elements at least in the fact that they're not built-in - that is the problem with React, which works with a list of built-in components that are treated differently from React components. Which means React needs special treatment for Web Components.

Whether React should or should not be doing that is irrelevant; what's relevant is that as a developer, you need to be aware that you can't "just" use Web Components in any framework.

Re:Microsoft Fast Design by spankalee on Saturday August 08, 2020 @03:03PM (#24094176)
That seems a rather silly distinction to me: "They're a special case because they're not on React's list of special cases".

You've correctly pointed out that the special cases are the problem, but are putting the blame on the things that are not special cases instead of the thing doing the special casing.

This is fundamentally React's problem. It's the only major framework to even have issues here.

Re:Microsoft Fast Design by Vinnl on Saturday August 08, 2020 @06:06PM (#24095625)
Again: I don't care who's to "blame". I care about whether I can just use Web Components in any web framework, which is not the case.
Re:Microsoft Fast Design by spankalee on Saturday August 08, 2020 @06:39PM (#24095809)
The do work in React. It's hard for them not to, since they're just elements.

React just had a more complicated way of setting properties. Entirely due to React's choices.

Re:Microsoft Fast Design by Vinnl on Sunday August 09, 2020 @05:27AM (#24098383)
Sure, but if your standard is "it can work in React, just with some more work and downsides", then technically you can use Angular components in React as well.

tl;dr you'll still be doing the wrapping in practice.