4 ms·
It works alright with React if you treat it like regular DOM elements, but there's rough edges like SSR event handlers not working: https://github.com/facebook/
by esprehn 5y ago
It works alright with React if you treat it like regular DOM elements, but there's rough edges like SSR event handlers not working:
https://github.com/facebook/react/issues/18390 https://github.com/facebook/react/issues/18390
Unfortunately it seems facebook isn't prioritizing fixing issues like this.
I'd suggest using preact if you want a framework that's more compatible with web components but gives you the React experience.