←back to thread

304 points ulrischa | 2 comments | | HN request time: 0.419s | 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 #
gavinray ◴[] No.44686982[source]
It's explained in the post.
replies(2): >>44687093 #>>44687478 #
1. 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 #
2. owebmaster ◴[] No.44687552[source]
it is easy to check using inspect. They are not using shadowDOM which is great.