Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Should `async_resources` be updated manually when other async components are added?

Aperta
#136 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

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

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di plotly/dash-component-boilerplate

Tutte le issue di plotly/dash-component-boilerplate

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.