Profile avatar
engelman.nl
I do modern Web Component Development with technologies supported by **all** WHATWG partners (Apple, Google, Microsoft & Mozilla) 👨🏻‍💻TRS-80 Scriptkiddie '79+ 🎓 Computer Science '87 - '92 ❤️ Online since 1990 yes! 1990
292 posts 42 followers 48 following
Getting Started
Active Commenter

<fit-text> Web Component jsfiddle.net/WebComponent... fit-text.github.io kizu.dev/fit-to-width... Cool CSS #webcomponents

No need to write Web Components like: 𝙨𝙪𝙥𝙚𝙧(); 𝙩𝙝𝙞𝙨.𝙖𝙩𝙩𝙖𝙘𝙝𝙎𝙝𝙖𝙙𝙤𝙬({𝙢𝙤𝙙𝙚: '𝙤𝙥𝙚𝙣'}); 𝙩𝙝𝙞𝙨.𝙨𝙝𝙖𝙙𝙤𝙬𝙍𝙤𝙤𝙩.𝙞𝙣𝙣𝙚𝙧𝙃𝙏𝙈𝙇 = `` you can write: 𝙨𝙪𝙥𝙚𝙧() .𝙖𝙩𝙩𝙖𝙘𝙝𝙎𝙝𝙖𝙙𝙤𝙬({𝙢𝙤𝙙𝙚: '𝙤𝙥𝙚𝙣'}) .𝙞𝙣𝙣𝙚𝙧𝙃𝙏𝙈𝙇 = `` #webcomponents

NO! This only works when you treat Web Components the OLD jQuery or Framework way When you process PARSED DOM, then do something with it. Web Components defined *BEFORE* DOM is parsed can NOT access DOM content in the constructor or the connectedCallback *because* it is not there yet!!

My first and only attempt with Veo3: 𝘈𝘯 𝘰𝘭𝘥𝘦𝘳 𝘱𝘳𝘰𝘨𝘳𝘢𝘮𝘮𝘦𝘳, 𝘸𝘪𝘵𝘩𝘰𝘶𝘵 𝘣𝘦𝘢𝘳𝘥 𝘢𝘯𝘥 𝘸𝘪𝘵𝘩 𝘨𝘳𝘦𝘺 𝘩𝘢𝘪𝘳, 𝘪𝘴 𝘤𝘰𝘥𝘪𝘯𝘨 𝘢 𝘑𝘢𝘷𝘢𝘚𝘤𝘳𝘪𝘱𝘵 𝘞𝘦𝘣 𝘊𝘰𝘮𝘱𝘰𝘯𝘦𝘯𝘵 𝘸𝘪𝘵𝘩 𝘤𝘭𝘦𝘢𝘳 <𝘮𝘺-𝘤𝘰𝘮𝘱𝘰𝘯𝘦𝘯𝘵> 𝘤𝘰𝘥𝘦𝘭𝘦𝘵𝘵𝘦𝘳𝘴 𝘢𝘱𝘱𝘦𝘢𝘳𝘪𝘯𝘨 𝘰𝘯 𝘵𝘩𝘦 𝘤𝘰𝘮𝘱𝘶𝘵𝘦𝘳 𝘴𝘤𝘳𝘦𝘦𝘯. 𝘛𝘩𝘦 𝘱𝘳𝘰𝘨𝘳𝘢𝘮𝘮𝘦𝘳 𝘵𝘩𝘦𝘯 𝘭𝘰𝘰𝘬𝘴 𝘢𝘵 𝘵𝘩𝘦 𝘤𝘢𝘮𝘦𝘳𝘢, 𝘴𝘮𝘪𝘭𝘦𝘴 𝘢𝘯𝘥 𝘩𝘪𝘴 𝘰𝘱𝘦𝘯 𝘮𝘰𝘶𝘵𝘩 𝘳𝘦𝘷𝘦𝘢𝘭 <></> 𝘏𝘛𝘔𝘓 𝘵𝘢𝘨𝘴 𝘢𝘴 𝘵𝘦𝘦𝘵𝘩

Ask for Web Components, and all AIs create them (a bit verbose) when I add <wc-name> to the prompt. But the applications boot like its 1999 Are we going to accept mediocre code because it is trained on a history full of s*** blogs? How can we program the Web Components programmer? #webcomponents

0.2 - 2% of users have no JavaScript !!!!!!!! Less than 26% of internet users understand English User Language Distribution: English: 25.9% Chinese: 19.4% Spanish: 7.9% Arabic: 5.2% Should I focus on a no-JavaScript Web Component or translate my Web Component to other languages? #webcomponents