3 ms·
Any technology has issues and limitations. Many basic browser functionalties also don't work with the React workflow, and Lit brings those things back again, ma
by gitaarik 3y ago
Any technology has issues and limitations. Many basic browser functionalties also don't work with the React workflow, and Lit brings those things back again, making it more native, and less need for framework code.
It seems you are only focussing and zooming in on the issues and limitations. And there are issues and limitations in any technology. I think it has to do with adopting a different way of thinking and structuring. All those issues you listed are either non-issues with the correct workflow, or are easy to work around.
And hey, I'm not saying you or anyone should use web components; if you like React better then just keep using that. But I don't see why you would critizice this technology so much. Remember that creating new web specs and standards takes a lot more time than to build an independent framework like React. So yeah the development and adoption is slow, and that might frustrate you. And as long as you think it's not good enough yet, you can just keep using React. But I personally find that it is mature enough for me to use it in combination with Lit instead of React. And I'm very satisfied about it. It does take some investment to learn a bit about how Web Components work.
- troupo 3y ago> It seems you are only focussing and zooming in on the issues and limitations. The question literally was: "Can you elaborate further on why web components are a half-baked solution". Did I say anything about React? No. Did I say anything about lit? No. Stop making up what you think people are saying and start reading and understanding what people are saying. > And there are issues and limitations in any technology. Yes. Yes they are. And web components are literally the only technology that after 12 years in development needs 20+ web specs to not break basic functionality that literally no other technology breaks. This has nothing to do with react. This has nothing to do with lit. Read what I wrote and not what I think I wrote. > if you like React > framework like React. > keep using React. > combination with Lit instead of React. Jesus Christ. Literally nowhere was I talking about React or lit. Not a single one of my comments in this thread had anything to do with either. And yet you keep arguing with the voices in your head that are telling you that I'm talking about React. > It does take some investment to learn a bit about how Web Components work. So go ahead and learn about how they work, why don't you? Or, rather, about how they don't work, and why after 12 years they still need 20+ new web specs to to the most basic things. Edit: from now on I will disengage from this conversation and sibling ones, because it is useless and pointless.