Wrap your component up as a custom element
Why do you think that https://github.com/GoogleChromeLabs/dark-mode-toggle is a good alternative to preact-custom-element
Wrap your component up as a custom element
Why do you think that https://github.com/GoogleChromeLabs/dark-mode-toggle is a good alternative to preact-custom-element