I am not sure I follow.
I tried plugging a react component into the taskTooltipFeature template callback and it says symbol is not recognized as a string.
Maybe I am misunderstanding
The above is based on another approach, perhaps even simpler than using React portals, and that is using custom elements that would be implemented in React. We would create <custom-tag>
with the help of React the way that is described here: https://reactjs.org/docs/web-components.html Then the above template code would ensure that the tooltip will be recreated after it has been hidden (destroyed).
React components (JSX) in tooltips is not yet supported, however, converting an existing React component into a web component, as suggested in previous post, should not be difficult at all. Then the tooltip template function would return the created web component markup.
There are some resources/tutorials on creating WebComponents from React ones:
You can also consider sponsoring the feature at https://bryntum.com/services
Thanks.
I'm using this trick and it's pretty nice for now
viewtopic.php?f=44&t=13554&p=70377&hilit=fetchTooltipHtml#p70377