You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Good point @jlfsjunior - yes, it's required to manually add new async components to __init__.py, there is nothing that automatically updates this file right now.
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 anasync_resources
list containing just the component created automatically by cookiecutter, and notNewComponent
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!
The text was updated successfully, but these errors were encountered: