Chartjs-React-chartjs-2: Cannot read properties of undefined (reading 'register')

0๐Ÿ‘

I found out that there were some linting issues that messed up the library. I added eslint to the project and now everything works well.

0๐Ÿ‘

I found this issue when using react script version of 3.1.1 when upgraded to version 5 this issue gets resolved.

Leave a comment