Create a custom element from any component with these tiny functions (2KB GZipped, ~1KB Brotli). Preact and React currently supported
Why do you think that https://github.com/davide2894/react-goals-with-nextjs is a good alternative to component-elements