react-integration
react-integration copied to clipboard
Add events prop to add events to the CE rather than rely on heuristics for on*
References #60.
We should be able to do:
<CustomElement events={{ click }} />
And the click
event will be bound. If the click
event is already bound and no click
event is passed on the next render, then we should remove the previous click
listener.