Skip to content

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

@jlfsjunior

Description

@jlfsjunior

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions