Hello Joseph,
I don’t specialize in React so I won’t be able to explain how React components work. But I suspect that it might be used in complex projects and it might provide a more flexible way to control the elements. You can read about in the following articles:
I was thinking more towards the use-case of using ref in this case, if there is any obvious benefit in doing so. Such as if I am rendering multiple Gantt, I can then create ref to each of them so I can get an “instance” of the gantt and then trigger some event on that particular gantt using ref call.
From what I understand, I probably should not be using ref unless necessary. And since not using ref works, then I probably will continue doing so.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan