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

Lazy load visualization components #394

Open
alancleary opened this issue Dec 17, 2021 · 0 comments
Open

Lazy load visualization components #394

alancleary opened this issue Dec 17, 2021 · 0 comments
Assignees

Comments

@alancleary
Copy link
Contributor

Currently the visualization components are bundled with the search module at build time, meaning when a gene view is loaded all of the visualization components are loaded. However, the micro-synteny component is the only one that's actually used when the gene view is first loaded. The other visualization components are only shown when the user explicitly says to show them. For this reason, these component should be individually bundled and loaded on-demand when a user requests them. This will increase the load speed of the gene view and prevent loading scripts for visualizations that the user never requests.

@alancleary alancleary self-assigned this Dec 17, 2021
This was referenced Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant