You can totally write web components with Preact: https://preactjs.com/guide/v10/web-components/
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.