Should `async_resources` be updated manually when other async components are added?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, python
- Ambito
- build-system, frontend
Direzione di ricerca
Reproduce the issue by copying the cookiecutter component, renaming it, and exporting the new component in the stated places. Inspect init.py and the dash-generate-components entry point, then verify whether async-NewComponent*.js is generated and discoverable by the browser without manual updates to async_resources.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi,
I started trying my way around async components and I was having some issues when I added a second component to the library. To reproduce it, just copy the one created by cookiecutter, refactor the name to something else and export it in the right places...
The issue was somehow related to the browser not finding async-NewComponent*.js, so I realized that __init__.py has an async_resources list containing just the component created automatically by cookiecutter, and not NewComponent just created.
As I asked in the title, should this list be modified manually or is it expected that dash-generate-components should do the trick?
Thanks!
- Lingua principale
- Python
- Stelle
- 294
- Fork
- 196
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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.
Altre issue di plotly/dash-component-boilerplate
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
-
Unable to create projectAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
plotly/dash-component-boilerplate#173 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
plotly/dash-component-boilerplate#170 · 1 commento ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
plotly/dash-component-boilerplate#166 · 1 reazione ·
-
Running buildAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
Tutte le issue di plotly/dash-component-boilerplate
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-2 giorni Idoneità per principianti 70/100
-
FingerprintSplitter raises ZeroDivisionError when int(frac_train * len(dataset)) floors to zeroAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 7 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
lmstudio-ai/mlx-engine#376 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pyiron/bagofholding#166 ·