https://github.com/preactjs/preact-custom-element/pull/72#issuecomment-1166298037 As noted, doesn't work w/ shadow DOM but is something we should make mention of