On the topic of web components, does anyone know if AMP is still using them? I heard they switched over to Preact but I couldn't find an official announcement.
From a quick skim of their docs, it looks like AMP still uses web components.
The nice part about web components is that the users of a library don't have to care about how it's implemented, so switching to preact is a transparent change.
But it is not fully integrated with react, you have to do some work for interaction: https://www.sitepen.com/blog/wrapping-web-components-with-re...
That link is a few years old though I think the principle is the same.