I'm trying to implement tooltips on label hover and used this sandbox as an example (React Portals demo from Highcharts docs) https://codesandbox.io/s/1o5y7r31k3.
But since all our components are written as functional components and using hooks a lot, first I've tried to rewrite that example from class to function. But for some reasons I can't even get these labels rendered and I have no idea why. Please see this sandbox (FunctionComponentChart.jsx):
https://codesandbox.io/s/highcharts-rea ... tChart.jsx
I've also left there ClassComponentChart.jsx file to see that it's quite the same, but working.
Thanks!