react-scheduler-demo
react-scheduler-demo copied to clipboard
[Question] Error in functional component implementation
Hello,
I'm trying to recreate this https://github.com/DHTMLX/react-scheduler-demo demo using the functional component instead of the class-based component here https://codesandbox.io/s/learn-dhx-scheduler-04r17f.
But there is an error with the scheduler
below.
TypeError
this.$container.setAttribute is not a function
What's the source of the error and what's the solution to use the DHTMLX Scheduler component with functional component properly?