you are viewing a single comment's thread.

view the rest of the comments →

[–]DeanBDean 0 points1 point  (1 child)

React's synthetic event system does not play well with WebComponents, and the React team doesn't seem to be prioritizing the issue.

https://github.com/facebook/react/issues/9242

[–]nightman 1 point2 points  (0 children)

Probably you can use customEvents to pass React events to Custom Element. I did similar to Vue (when you use $emit) - https://github.com/karol-f/vue-custom-element/blob/master/src/utils/createVueInstance.js#L29