-
Notifications
You must be signed in to change notification settings - Fork 299
Options doesn't work with React 16 #210
Comments
I was looking at the v16 changelog and it mentions some stuff was changed around with React's lifecycle, but it doesn't seem to be the case. Can't figure this out either. |
@stelro, can you please upload an example ? |
Any update on this? |
I have made this pen as an example and it is working fine |
@agent3bood, I just added a few options that do not work to your codepen: https://codepen.io/anon/pen/MzjNQw?editors=0010 Hope this helps! |
@fdalvi I think you referring to some options in chart.js version 2. |
Thanks @agent3bood, you are absolutely correct! I actually switched to |
Hello, I am using react-chartjs version 1.2.0 and chart.js 1.1.1 and I have upgraded my App to react.js 16 and I have some issues with react-chartjs.
When I was using the module with react 15, everything was working alright like in the picture below
https://imgur.com/a/ueUOg
But since I upgraded to React 16, the options object sees to have broke, nothing is working as expected
https://imgur.com/MaFruaA .
Any suggestions?
The text was updated successfully, but these errors were encountered: