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
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 138
- Ø Merge
- 3 T. 2 Std.
- Gemergte PRs (30 T.)
- 4
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den gemeldeten Fehler mit der verlinkten CodeSandbox unter Verwendung von plotly.js 1.57.0 oder 1.56.0 und react-plotly.js 2.5.0 zu reproduzieren. Vergleiche kompatible Versionskombinationen und bestätige, ob die Inkompatibilität reproduzierbar ist; abgeschlossen bedeutet, die bestätigte Einschränkung und die betroffenen Versionen in der entsprechenden Projektdokumentation zu dokumentieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, react
- Bereich
- data-visualization, frontend
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100