Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic loading of component libraries. #2762

Merged
merged 20 commits into from
Feb 29, 2024
Merged

Dynamic loading of component libraries. #2762

merged 20 commits into from
Feb 29, 2024

Conversation

T4rk1n
Copy link
Contributor

@T4rk1n T4rk1n commented Feb 16, 2024

Change the loading of component libraries to be based on the layout and loaded asynchronously instead of a script inserted on page index.

Adds:

  • dash.Dash(dynamic_loading=True) Enable/Disable dynamic loading.
  • dash.Dash(preloaded_libraries=['dash_design_kit']) Preload this list of dash component libraries on the index.

Todos:

  • Add test.
  • Add changelog entry.

@T4rk1n T4rk1n changed the title [WIP] Dynamic loading of component libraries. Dynamic loading of component libraries. Feb 21, 2024
Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃 Amazing - really excited about this one!

@T4rk1n T4rk1n merged commit 330a2c4 into dev Feb 29, 2024
3 checks passed
@T4rk1n T4rk1n deleted the feat/dynamic-loading branch February 29, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants