react-chartjs
react-chartjs copied to clipboard
direct assignment to this.state?
https://github.com/jhudson8/react-chartjs/blob/master/lib/core.js#L64
I'm having some issues where this.state.chart doesn't exist and is causing errors to be spewed all over, noticed this while checking things out. I don't think direct assignment of this.state is supported and might be why the issue is happening.
That should def be a setState, I don't see why it would be anything else
I think this is no problem, because the react-chartjs has no child components.