👨🏻💻TRS-80 Scriptkiddie '79+
🎓 Computer Science '87 - '92
❤️ Online since 1990 yes! 1990 I started with Email and Gopher
The main reason shadowDOM exists is on the other side of the boundary!!
For many moons now all complex tags like
The main reason shadowDOM exists is on the other side of the boundary!!
For many moons now all complex tags like
but state Web Components shadomDOM should die
shadow-style.github.io
#webcomponents
but state Web Components shadomDOM should die
shadow-style.github.io
#webcomponents
Off the record, nothing copied yet
Lit taught me to avoid creating HTML like the plague,
I use a 1 line framework for readable, smaller and faster code:
𝙘𝙤𝙣𝙨𝙩 𝙘𝙧𝙚𝙖𝙩𝙚𝙀𝙡𝙚𝙢𝙚𝙣𝙩 = (𝙩𝙖𝙜, 𝙥𝙧𝙤𝙥𝙨 = {}) => 𝙊𝙗𝙟𝙚𝙘𝙩.𝙖𝙨𝙨𝙞𝙜𝙣(𝙙𝙤𝙘𝙪𝙢𝙚𝙣𝙩.𝙘𝙧𝙚𝙖𝙩𝙚𝙀𝙡𝙚𝙢𝙚𝙣𝙩(𝙩𝙖𝙜), 𝙥𝙧𝙤𝙥𝙨);
Off the record, nothing copied yet
Lit taught me to avoid creating HTML like the plague,
I use a 1 line framework for readable, smaller and faster code:
𝙘𝙤𝙣𝙨𝙩 𝙘𝙧𝙚𝙖𝙩𝙚𝙀𝙡𝙚𝙢𝙚𝙣𝙩 = (𝙩𝙖𝙜, 𝙥𝙧𝙤𝙥𝙨 = {}) => 𝙊𝙗𝙟𝙚𝙘𝙩.𝙖𝙨𝙨𝙞𝙜𝙣(𝙙𝙤𝙘𝙪𝙢𝙚𝙣𝙩.𝙘𝙧𝙚𝙖𝙩𝙚𝙀𝙡𝙚𝙢𝙚𝙣𝙩(𝙩𝙖𝙜), 𝙥𝙧𝙤𝙥𝙨);
shadow-style.github.io
too lazy to enter a second prompt, I was only exploring content for my Web Component course
shadow-style.github.io
too lazy to enter a second prompt, I was only exploring content for my Web Component course
"decode this cypher word, each letter on a chessboard"
GPT5 said: CHECKMATE (WTF 9 letters)
GPT5.1 said PAWNSTAR (great answer, but wrong)
GPT5.2 said: CONFUSED (also a great answer)
Will GPT666 get it right?
"decode this cypher word, each letter on a chessboard"
GPT5 said: CHECKMATE (WTF 9 letters)
GPT5.1 said PAWNSTAR (great answer, but wrong)
GPT5.2 said: CONFUSED (also a great answer)
Will GPT666 get it right?
Added the option to play any date, a dictionary, and more...
Play: mordle.github.io
Blog:
dev.to/dannyengelma...
Added the option to play any date, a dictionary, and more...
Play: mordle.github.io
Blog:
dev.to/dannyengelma...
... but your site is just a static page
... but your site is just a static page
Its dumping your code into ONE connectedCallback method and fixing some DOM creation
Took me maybe 10 minutes
I then refactored it, still as an experiment keeping all code in ONE Method
But mainly focussing on my own Web Components displaying a starter page
HTH
image-reveal.github.io
Its dumping your code into ONE connectedCallback method and fixing some DOM creation
Took me maybe 10 minutes
I then refactored it, still as an experiment keeping all code in ONE Method
But mainly focussing on my own Web Components displaying a starter page
HTH
image-reveal.github.io
Dominos probably requires masonry (not supported in a browser yet)
Maybe next weeks team Web Component challenge; we did Ludo once; all NAMED slots and CSS grid-area
Dominos probably requires masonry (not supported in a browser yet)
Maybe next weeks team Web Component challenge; we did Ludo once; all NAMED slots and CSS grid-area
Multiple <slot> can be used
But ONE unnamed <slot> can be enough,
.assign (can process a NodeList) sets the order.
But sorting is maybe not the best example for manual slot-assignment;
I keep lightDOM sort in lightDOM (2nd screenshot)
Multiple <slot> can be used
But ONE unnamed <slot> can be enough,
.assign (can process a NodeList) sets the order.
But sorting is maybe not the best example for manual slot-assignment;
I keep lightDOM sort in lightDOM (2nd screenshot)
Those frontpages really looked cool in the erly 80s!
I checked out some Web Components course frontpages just the other day... very inspirational... not
Those frontpages really looked cool in the erly 80s!
I checked out some Web Components course frontpages just the other day... very inspirational... not
> Custom Elements are not countable and should be ignored
Custom Elements are countable, start at 1 and keep going
WITHOUT JavaScript!
Any
not HTMLUnknowElement as some claim.
dashed-html.github.io
> Custom Elements are not countable and should be ignored
Custom Elements are countable, start at 1 and keep going
WITHOUT JavaScript!
Any
not HTMLUnknowElement as some claim.
dashed-html.github.io
because the connectedCallback fires on the OPENING tag.
Thus when you define your Web Component EARLY (to prevent FOUCs) there is no innerHTML
JSFiddle and link to blogpost:
jsfiddle.net/WebComponent...
because the connectedCallback fires on the OPENING tag.
Thus when you define your Web Component EARLY (to prevent FOUCs) there is no innerHTML
JSFiddle and link to blogpost:
jsfiddle.net/WebComponent...
I might have agreed with you, partially
shadowDOM on native elements is weird, 𝘱𝘴𝘦𝘶𝘥𝘰???
AI even answers with code you can NOT execute:
I might have agreed with you, partially
shadowDOM on native elements is weird, 𝘱𝘴𝘦𝘶𝘥𝘰???
AI even answers with code you can NOT execute:
and append( ) (not available in IE) is a whole lot more versatile than oldskool appendChild( )
If you then add a 1 line framework
You end up with vanilla code:
and append( ) (not available in IE) is a whole lot more versatile than oldskool appendChild( )
If you then add a 1 line framework
You end up with vanilla code:
But us mortal Web Component developers couldn't use it till years later
𝙨𝙞𝙣𝙘𝙚 𝙬𝙝𝙚𝙣 𝙙𝙤𝙚𝙨 𝙪𝙨𝙚𝙧-𝙖𝙜𝙚𝙣𝙩 𝙨𝙝𝙖𝙙𝙤𝙬𝙍𝙤𝙤𝙩 𝙚𝙭𝙞𝙨𝙩 𝙞𝙣 𝙩𝙝𝙚 𝙗𝙧𝙤𝙬𝙨𝙚𝙧𝙨?
#webcomponents
But us mortal Web Component developers couldn't use it till years later
𝙨𝙞𝙣𝙘𝙚 𝙬𝙝𝙚𝙣 𝙙𝙤𝙚𝙨 𝙪𝙨𝙚𝙧-𝙖𝙜𝙚𝙣𝙩 𝙨𝙝𝙖𝙙𝙤𝙬𝙍𝙤𝙤𝙩 𝙚𝙭𝙞𝙨𝙩 𝙞𝙣 𝙩𝙝𝙚 𝙗𝙧𝙤𝙬𝙨𝙚𝙧𝙨?
#webcomponents
All is fine if you are happy with that Build step,
you don't care what the code in the browser looks like,
never debug vanilla in the Browser,
never continue with components from project A into project B.
All is fine if you are happy with that Build step,
you don't care what the code in the browser looks like,
never debug vanilla in the Browser,
never continue with components from project A into project B.
ChatGPT thought for 7 minutes and 17 seconds, and said:
𝙋𝘼𝙒𝙉𝙎𝙏𝘼𝙍
Wrong word, because AI is great at logic, but can't think...
What word do you see?
ChatGPT thought for 7 minutes and 17 seconds, and said:
𝙋𝘼𝙒𝙉𝙎𝙏𝘼𝙍
Wrong word, because AI is great at logic, but can't think...
What word do you see?
> a bunch of js scripts to tinker your toy projects
You can even have fun WITHOUT JavaScript,
because all browsers support Custom Elements since 2018,
and EVERY tagname with a dash IS a VALID HTMLElement.
Thus you can replace every DIV
> a bunch of js scripts to tinker your toy projects
You can even have fun WITHOUT JavaScript,
because all browsers support Custom Elements since 2018,
and EVERY tagname with a dash IS a VALID HTMLElement.
Thus you can replace every DIV
You were trained on blog-posts that do not show the chaining of super in:
super().attachShadow({mode:"open"})
That does not make your statement below right.
super() DOES return the this scope
You were trained on blog-posts that do not show the chaining of super in:
super().attachShadow({mode:"open"})
That does not make your statement below right.
super() DOES return the this scope
who also did the infamous Macromedia Authorware in the 90s
We happily paid $999 a year for it
(in 2007 deleted from existence by Adobe)
en.wikipedia.org/wiki/Adobe_A...
flowline based authoring
www.zebrazapps.info/features
wiring based authoring
who also did the infamous Macromedia Authorware in the 90s
We happily paid $999 a year for it
(in 2007 deleted from existence by Adobe)
en.wikipedia.org/wiki/Adobe_A...
flowline based authoring
www.zebrazapps.info/features
wiring based authoring