Gantt in React as Functional Components

Are there any examples out there with the newer reccomended functional react components and NOT using react class components? ie React.FC

Because the gantt is not really build for react we seem to have to use useEffect for everythign because all the API calls are direct function calls into the gantt.

1 Like

Hello Corbett,
Unfortunately, we don’t have any other demos or guides. There is a task in our internal tracker to make a react-friendly demo, but I cannot give you any ETA on when it is done.

See here https://forum.dhtmlx.com/t/react-using-functional-component/69918
I haven’t had any reply to my post so not sure whether this is correct but it does work