rasso·há 2 meses·discussDo you have a link for me? I'd like to learn them, but find it really hard to find them.For example, I had never heard about etc/services until 2 minutes ago
rasso·há 3 meses·discussFor what it's worth: they live up to their own standards. Here, for example, is the source code that powers their VIP platform product:https://github.com/Automattic/vip-go-mu-pluginsIt must be open sourced because it's based on WordPress. I still love that.
rasso·há 5 meses·discussThis is my all-time favourite from Shatner: "It hasn't happened yet"https://youtu.be/7GnoLJIIS4w?si=zP_mlOxV1tKMMkQx
rasso·há 6 meses·discussSee my other comment: you can set default styles using:where(:not(:defined)) { display: block }
rasso·há 6 meses·discussBeware that connectedCallback runs _every time_ a custom element is added to the dom. So you should make sure to only add event listeners once by tracking internally if the element was already initialized.
rasso·há 6 meses·discussThis is how you can set default styles for all your custom elements: :where(:not(:defined)) { display: block; }