RangeError: Maximum call stack size exceeded
- Dominant language
- JavaScript
- Stars
- 67.7k
- Forks
- 11.9k
- Avg merge
- 7h 39m
- Merged PRs (30d)
- 5
Description
### Expected behavior
I'm currently developing a React widget that should able to be embedded into other sites displaying both a line and bar chart.
### Current behavior
Currently in a dev environment there are no errors and everything loads fine, after bundling through `parcel` and embedding the script, an "Uncaught RangeError: Maximum call stack size exceeded" occurs in chrome rendering nothing. It's worth noting that this error occurs even when we remove all graph implementation and leave just the import.
As this is only reproducible in production with bundled files it's been quite tricky to debug so any help is appreciated.
### Reproducible sample
https://codesandbox.io/s/react-chartjs-2-chart-js-issue-template-forked-f30bn7?file=/src/App.tsx
### Optional extra steps/info to reproduce
[[Codebox of embed example]](https://codesandbox.io/s/react-chartjs-2-chart-js-issue-template-forked-co9zu9?file=/public/index.html)
### Possible solution
Unsure if this is a parcel issue or chartJS one, but removing the chartJS import stops this call stack error from showing.
### Context
_No response_
### chart.js version
v3.9.1
### Browser name and version
Chrome (error in firefox too)
### Link to your project
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.