I'm using ReasonML.
I would like to create a tooltip element. It should wrap a React.element and provide tooltip functionality, triggered by mouseevents.
But I would not like it to appear in the DOM at all, because that can disrupt the layout. I've tried using display: contents, but some CSS rules will still be disrupted.
Is it possible to add mouseevent listeners to the children:React.element object either through adding to its properties or getting a reference and adding it through that?