Open duongthienlee opened 5 years ago
I attempted to create a react-based WDC this week, ran into similar issues. What I found specifically was that the init
message from the Dispatcher was never called from my app. I believe, looking at the bundled code, the dispatcher triggers the init message after the dom has been fully loaded, so it's possible that React stops whatever event the WDC library is listening for.
I couldn't get it to work and ended up ditching it for a non-framework solution.
I keep getting this error ReferenceError: Can't find variable: Set file: http://localhost:1337/bundle.min.js line: 33098
It looks like window.tableau.getSchema() and myConnector.getData() have never been called. I add a log message, but it has never been executed.
Here is my html
Here is the component that will display on Tableu WDC, the route will be enter via WDC on Tableu Desktop app is http://localhost:1337/tableau/wdc
I keep getting these errors.
A snippet from the error is below here
Version of React:
"react": "^16.8.6", "react-dom": "^16.8.6", "react-router": "^3.2.0"