3 ms·
Two years ago I would have agreed with the author. However, now I just disagree flat out. I think React actually has it correct. Web Components while useful and
by thegayngler 10y ago
Two years ago I would have agreed with the author. However, now I just disagree flat out. I think React actually has it correct. Web Components while useful and a step forward, is not better than React at what it does. Web Components bundles Javascript, CSS and HTML together just like React does. I guess being closer to the "metal" is better in theory. The truth is you are still writing Javascript. I think it's easier for me to read and reason about a .jsx file than it is a Web Components file. Additionally, I don't have to wait for current browsers to support React. Web Components is still a ways off before it is ready for use in production and it doesn't offer up as much or more than React already does. For me that's a problem...