rasso·2 か月前·議論Do 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·3 か月前·議論For 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·5 か月前·議論This is my all-time favourite from Shatner: "It hasn't happened yet"https://youtu.be/7GnoLJIIS4w?si=zP_mlOxV1tKMMkQx
rasso·6 か月前·議論See my other comment: you can set default styles using:where(:not(:defined)) { display: block }
rasso·6 か月前·議論Beware 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·6 か月前·議論This is how you can set default styles for all your custom elements: :where(:not(:defined)) { display: block; }