2 ms·
I think Web Components will have/already had the same fate. To paraphrase the meme: "Stop trying to get Web Components/Polymer to happen. They aren't gonna hap
by coldtea 9y ago
I think Web Components will have/already had the same fate.
To paraphrase the meme: "Stop trying to get Web Components/Polymer to happen. They aren't gonna happen".
At least not in this version of them. It's like XHTML that went about for years before it was taken out of its misery.
We needed something like Web Components for a long time -- but the current implementation is exactly how it should not have been done.
React/JSX got the good parts of it, and added even more useful things. If we could add the missing parts on top of that (like encapsulation from the external DOM), it would be perfect, and the rest of their horrible API/design can vanish.
- pas 9y agoIt's happening, slowly: https://platform-status.mozilla.org/#shadow-dom https://platform-status.mozilla.org/#shadow-dom And "XHTML experience" is now built in to browsers, no developer effort needed (implementation consistency, the ACID tests, strict mode for JS, and WASM for speed) And see also http://ishoudinireadyyet.com/ http://ishoudinireadyyet.com/
- coldtea 9y ago>It's happening, slowly That's browser adoption. XHTML was also adopted by all browsers. I'm talking about developer adoption.