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

perf: Optimize lazy imports for reference widgets #825

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Feb 6, 2024

This change reduces the bundle size of the entry points quite heavily to make the initial page load of apps that use link preview widgets faster.

For tables this brings down the entrypoint from 4MB to 16KB

🖼️ Screenshots

🏚️ Before 🏡 After
Screenshot 2024-02-06 at 14 45 28 Screenshot 2024-02-06 at 14 46 39

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr force-pushed the perf/reference-entrypoint branch from c093d78 to 5c8f63e Compare February 20, 2024 10:11
@juliusknorr juliusknorr marked this pull request as ready for review February 20, 2024 12:54
@juliusknorr juliusknorr requested review from enjeck and elzody February 20, 2024 12:54
@juliusknorr juliusknorr added 3. to review Waiting for reviews performance Performance issues and optimisations labels Feb 20, 2024
@juliusknorr juliusknorr merged commit a908069 into main Feb 21, 2024
42 checks passed
@juliusknorr juliusknorr deleted the perf/reference-entrypoint branch February 21, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews performance Performance issues and optimisations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants