11 ms·
Is there a good reason to use a shadow root for this instead of just directly setting innerText
by KTibow 3y ago
Is there a good reason to use a shadow root for this instead of just directly setting innerText
- dannye 3y agoOnly when you really want to encapsulate style or ensure GUI. This should/could be part of a generic <app-footer) Web Component which ensures all that required is required. We use a single <app-footer> for over 15 projects, it extracts domain namens to set the correct links. Its value showed when we needed (basic) A/B tracking on all sites, we only had to edit this one <app-footer> file