plotly / plotly/react-plotly.js
How to use plotly.js-dist with react-plotly.js?
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 1.1k
- Fork
- 138
- Merge medio
- 3g 2h
- PR unite (30g)
- 4
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo gli errori segnalati di npm ci e di importazione con react-plotly.js e plotly.js-dist in un progetto React minimale. Esamina la discussione collegata di plotly.js per il contesto, quindi verifica se i due pacchetti possono essere utilizzati insieme e documenta la configurazione supportata o l’incompatibilità ancora presente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, react
- Ambito
- data-visualization, frontend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100
