←back to thread

304 points ulrischa | 4 comments | | HN request time: 0.001s | source
Show context
paranoidxprod ◴[] No.44686734[source]
Would love to know how they went about implementing these. I always find custom elements interesting. I know the guys over at data-star.dev used one to implement their inspector element, but unfortunately that is also behind pro.

I know Lit is used a lot but I’m always looking for new approaches.

replies(2): >>44686982 #>>44687120 #
1. gavinray ◴[] No.44686982[source]
It's explained in the post.
replies(2): >>44687093 #>>44687478 #
2. paranoidxprod ◴[] No.44687093[source]
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.
3. cluckindan ◴[] No.44687478[source]
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.

replies(1): >>44687552 #
4. owebmaster ◴[] No.44687552[source]
it is easy to check using inspect. They are not using shadowDOM which is great.