Im trying to create a dynamic chart series item that loads its own data instead of fetching everything in a parent component. Having trouble getting it to render.
This is because the ChartSeriesItem is a props collector component and the Chart internally checks for it. If the component is different it will be ignored.
Seems theres issues with hooks if you call components like that. I will have to solve it another way.
Stefan
Telerik team
commented on 15 Jun 2021, 04:40 AM
Yes, indeed hooks have some restrictions on where functions can be called, but a similar approach has to be used. If additional assistance is needed, please share an example with the hooks issue.