News for hackers. Stuff that matters.
Re:Vanilla JavaScript support for Tailwind Plus by gavinray on Friday July 25, 2025 @03:04PM (#44686982)
It's explained in the post.
Re:Vanilla JavaScript support for Tailwind Plus by cluckindan on Friday July 25, 2025 @03:42PM (#44687478)
They don’t mention whether the custom elements are using shadow root and whether it’s open or closed mode.

That has implications for event handling and style encapsulation.

Re:Vanilla JavaScript support for Tailwind Plus by owebmaster on Friday July 25, 2025 @03:49PM (#44687552)
it is easy to check using inspect. They are not using shadowDOM which is great.
Re:Vanilla JavaScript support for Tailwind Plus by paranoidxprod on Friday July 25, 2025 @03:10PM (#44687093)
I mean they mention the built in browser features they use, but make no mention of the actual authoring of the components unless I’m missing something. I’m curious if they’re leaning on existing frameworks for authoring web components or if they’re implementing them from scratch.