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

juliushaertl
Copy link
Member

@juliushaertl juliushaertl 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>
@juliushaertl juliushaertl marked this pull request as ready for review February 20, 2024 12:54
@juliushaertl juliushaertl added 3. to review Waiting for reviews performance Performance issues and optimisations labels Feb 20, 2024
@juliushaertl juliushaertl merged commit a908069 into main Feb 21, 2024
42 checks passed
@juliushaertl juliushaertl 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.

None yet

2 participants