Automatic tracking of ui.js size #7148

Open
opened 2021-09-22 02:58:17 +02:00 by infinite-persistence · 1 comment
infinite-persistence commented 2021-09-22 02:58:17 +02:00 (Migrated from github.com)

The current code-splitting is a manual process, where we have to lazy-import and wrap components with <Suspense> -- something which we don't have a habit of doing yet during development due to time constraints. It also requires lots of testing to ensure if the lazy-load did have an impact, doesn't break, etc.

  • It would be nice if we can track the the size of ui.js during each production build, and review it periodically (something like Grafana?), and update the code-splitting work as necessary.

Or any better ideas?

The current code-splitting is a manual process, where we have to lazy-import and wrap components with `<Suspense>` -- something which we don't have a habit of doing yet during development due to time constraints. It also requires lots of testing to ensure if the lazy-load did have an impact, doesn't break, etc. - It would be nice if we can track the the size of `ui.js` during each production build, and review it periodically (something like Grafana?), and update the code-splitting work as necessary. Or any better ideas?
kauffj commented 2021-12-13 15:30:52 +01:00 (Migrated from github.com)

@tzarebczan please transfer

@tzarebczan please transfer
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#7148
No description provided.