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 activity plot #606

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Lazy load activity plot #606

merged 2 commits into from
Nov 1, 2024

Conversation

annavik
Copy link
Member

@annavik annavik commented Oct 31, 2024

Plotly lib is huge and it was included in our main bundle (loaded even if the user is not visiting a page where this lib is used). By lazy loading components that is using this lib, we could reduce the main bundle size.

Before:
Skärmavbild 2024-10-31 kl  18 35 48

After:
Skärmavbild 2024-10-31 kl  18 32 37

Copy link

netlify bot commented Oct 31, 2024

Deploy Preview for ami-storybook ready!

Name Link
🔨 Latest commit 04440c7
🔍 Latest deploy log https://app.netlify.com/sites/ami-storybook/deploys/67248e46317acf000805c98c
😎 Deploy Preview https://deploy-preview-606--ami-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Oct 31, 2024

Deploy Preview for ami-dev ready!

Name Link
🔨 Latest commit 04440c7
🔍 Latest deploy log https://app.netlify.com/sites/ami-dev/deploys/67248e46a7fc73000871141d
😎 Deploy Preview https://deploy-preview-606--ami-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 73
Accessibility: 89
Best Practices: 92
SEO: 100
PWA: 80
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@annavik annavik merged commit a69105a into main Nov 1, 2024
6 checks passed
@annavik annavik deleted the refactor/lazy-load-plotly branch November 1, 2024 16:28
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.

1 participant