Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

This is wrong on so many levels :-) As of now, React is probably the only major frontend framework that doesn't interop well with web components, requiring various hacks for doing so. Proper support is hopefully coming in version 19. What you have with React is its own, React-specific way of encapsulating parts of UI into stateful functions that helps to think about them as components.

And to have web components support built-in would mean to have them in the browser anyway, not in a third-party library.



They are already built-in, and if one doesn't like the boilerplate something like lit is enough.

What WebComponents support in SPAs bring to the table is a migration path to native support.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: