alert msg : WebdataRocks Reporting component unable to create component.dom is null

Answered

i’m trying to use weathercocks in reactjs project but doesn’t work

1 answer

WebDataRocks Team WebDataRocks December 24, 2019

Hello, Mohamed,
 
Thank you for your question.
 
This error is thrown if the container parameter is missing in the new WebDataRocks() API call. This parameter is necessary because it sets the selector of the HTML element, which will be the container for the component. For an example of how the container should be specified, refer to our integration with Reach tutorial.
 
We hope it helps.
 
Regards,
WebDataRocks Team