Closed julianljk closed 8 years ago
I'm importing React via npm so when AmCharts.React tries to do React.createClass, it can't find React since its not in the scope of window. Does that mean that unless I import React and ReactDOM via a script tag in window, I can't use this?
Good question, I have the same issue, thanks
I just now added in support for Webpack.
You can see more details here.
You can also see here for an example app that uses Webpack and amcharts3-react.
Since this has now been solved, I'm going to close this issue. Please open a new issue if you are still having problems.
I'm importing React via npm so when AmCharts.React tries to do React.createClass, it can't find React since its not in the scope of window. Does that mean that unless I import React and ReactDOM via a script tag in window, I can't use this?