plotly / plotly/react-plotly.js
How to use plotly.js-dist with react-plotly.js?
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
As per below issue, we were instructed to switch from plotly.js to plotly.js-dist to work around an error with plotly.js version 2.5.0. However, in doing this we then get errors when trying to import from react-plotly.js. Is there a way to use react-plotly.js with plotly.js-dist?
What's the reasoning behind not using ploly.js-dist then?
We're actually using react-plotly in our React project. Switching from plotly.js to plotly.js-dist resolves the
npm ciissue but we then get errors when importing from react-plotly.js. Is there a way to use react-plotly with plotly.js-dist?
I see. Please open an issue or pull request on react-plotly.js and paste the link here.
Originally posted by @archmoj in https://github.com/plotly/plotly.js/issues/5925#issuecomment-913690061
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, die gemeldeten npm ci- und Importfehler mit react-plotly.js und plotly.js-dist in einem minimalen React-Projekt zu reproduzieren. Sieh dir anschließend die verknüpfte plotly.js-Diskussion als Kontext an und überprüfe dann, ob die beiden Pakete zusammen verwendet werden können, und dokumentiere das unterstützte Setup oder die weiterhin bestehende Inkompatibilität.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, react
- Bereich
- data-visualization, frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100
