unstale

npm / react-chartjs-2

react-chartjs-2

What changed in react-chartjs-2 4 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-30.

11 breaking1 new APIs and options

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

react-chartjs-2 53 changes

Breaking changes 3

react-chartjs-2 49 changes

Breaking changes 8

  • The default export is renamed to Chart.

    4.0.0release notes

  • Chart.js re-exports are removed.

    4.0.0release notes

  • The functional data prop is removed.

    4.0.0release notes

  • The getDatasetAtEvent prop is removed; a utility with the same name can be used instead.

    4.0.0release notes

  • The getElementAtEvent prop is removed; a utility with the same name can be used instead.

    4.0.0release notes

  • The getElementsAtEvent prop is removed; a utility with the same name can be used instead.

    4.0.0release notes

  • IE 11 is dropped for the regular bundle; the modern bundle targets browsers with ES6 modules support.

    4.0.0release notes

  • Chart.js tree-shaking is supported; developers must register Chart.js components themselves.

    4.0.0release notes

New APIs and options 1