plotly / plotly/react-plotly.js
plotly.js 1.57.0/1.56.0 and react-plotly.js 2.5.0 are not said to be incompatible
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 138
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 4
Description
This combination of plotly.js and react-plotly.js seems to be unsupported. I might try with other versions in future too. It would be useful to write about this in some file if it is confirmed.
TypeError
Cannot read property 'document' of undefined
Code Sandbox
https://codesandbox.io/s/nervous-elbakyan-x3i8e?file=/src/App.js
Screenshot

Updates
plotly.js 1.56.0 has a similar error:

Thank you.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported error using the linked CodeSandbox with plotly.js 1.57.0 or 1.56.0 and react-plotly.js 2.5.0. Compare compatible version combinations and confirm whether the incompatibility is reproducible; done means documenting the confirmed limitation and affected versions in the appropriate project guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- data-visualization, frontend
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100